mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
ldns: move pkgconfig file to libldns-devel.
Since we are here, remove outdated post_extract too.
This commit is contained in:
parent
a09afd988b
commit
856a73e0f6
1 changed files with 4 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ldns'
|
# Template file for 'ldns'
|
||||||
pkgname=ldns
|
pkgname=ldns
|
||||||
version=1.7.1
|
version=1.7.1
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-drill --with-examples --disable-dane-ta-usage
|
configure_args="--with-drill --with-examples --disable-dane-ta-usage
|
||||||
--with-trust-anchor=/etc/dns/root.key
|
--with-trust-anchor=/etc/dns/root.key
|
||||||
|
@ -15,13 +15,11 @@ homepage="http://www.nlnetlabs.nl/projects/ldns/"
|
||||||
distfiles="http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="http://www.nlnetlabs.nl/downloads/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=8ac84c16bdca60e710eea75782356f3ac3b55680d40e1530d7cea474ac208229
|
checksum=8ac84c16bdca60e710eea75782356f3ac3b55680d40e1530d7cea474ac208229
|
||||||
|
|
||||||
post_extract() {
|
|
||||||
sed -i 's/defined(@\$also)/@$also/' doc/doxyparse.pl
|
|
||||||
}
|
|
||||||
post_install() {
|
post_install() {
|
||||||
sed -i -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" ${DESTDIR}/usr/bin/ldns-config
|
vsed -i -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" ${DESTDIR}/usr/bin/ldns-config
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
libldns_package() {
|
libldns_package() {
|
||||||
depends="dnssec-anchors"
|
depends="dnssec-anchors"
|
||||||
short_desc="Modern DNS/DNSSEC library"
|
short_desc="Modern DNS/DNSSEC library"
|
||||||
|
@ -35,6 +33,7 @@ libldns-devel_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/ldns-config
|
vmove usr/bin/ldns-config
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
vmove "usr/lib/*.a"
|
vmove "usr/lib/*.a"
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/share/man/man1/ldns-config.1
|
vmove usr/share/man/man1/ldns-config.1
|
||||||
|
|
Loading…
Add table
Reference in a new issue