New package: udns-0.4
This commit is contained in:
parent
63c4903330
commit
418f939500
3 changed files with 50 additions and 0 deletions
|
@ -1989,3 +1989,4 @@ libcvm-sql.so.1 cvm-0.97_1
|
|||
libcvm-udp.so.1 cvm-0.97_1
|
||||
libcvm-v1client.so.1 cvm-0.97_1
|
||||
libcvm-v2client.so.1 cvm-0.97_1
|
||||
libudns.so.0 udns-0.4_1
|
||||
|
|
1
srcpkgs/udns-devel
Symbolic link
1
srcpkgs/udns-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
udns
|
48
srcpkgs/udns/template
Normal file
48
srcpkgs/udns/template
Normal file
|
@ -0,0 +1,48 @@
|
|||
# Template file for 'udns'
|
||||
pkgname=udns
|
||||
version=0.4
|
||||
revision=1
|
||||
build_style=configure
|
||||
hostmakedepends=""
|
||||
makedepends=""
|
||||
depends=""
|
||||
short_desc="Stub DNS resolver library with ability to perform both syncronous and asyncronous DNS queries"
|
||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
license="LGPL-2"
|
||||
homepage="http://www.corpit.ru/mjt/udns.html"
|
||||
distfiles="http://www.corpit.ru/mjt/udns/udns-${version}.tar.gz"
|
||||
checksum=115108dc791a2f9e99e150012bcb459d9095da2dd7d80699b584ac0ac3768710
|
||||
configure_args="--enable-ipv6"
|
||||
make_build_target="shared"
|
||||
|
||||
pre_configure() {
|
||||
sed -i \
|
||||
-e "/is not a working compiler/c\ac_result yes" \
|
||||
-e "/no working C compiler found/c\ac_result yes" configure.lib
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin dnsget_s dnsget
|
||||
vbin rblcheck_s rblcheck
|
||||
vbin ex-rdns_s ex-rdns
|
||||
|
||||
vinstall udns.h 644 usr/include
|
||||
vinstall libudns.so.0 755 usr/lib
|
||||
|
||||
vman dnsget.1
|
||||
vman rblcheck.1
|
||||
vman udns.3
|
||||
|
||||
vmkdir $DESTDIR/usr/lib
|
||||
ln -s libudns.so.0 $DESTDIR/usr/lib/libudns.so
|
||||
}
|
||||
|
||||
udns-devel_package() {
|
||||
depends="udns>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/share/man/man3
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue