diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-03-27 07:49:09 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-03-27 07:49:09 +0000 |
commit | 8c271acfb17f0b3491a5bcbaca7513c076a5455c (patch) | |
tree | 0fd1eff66c5418ae65618788b883ba3af47f705b /main/udns | |
parent | 988c6a37d6cecd49029f81d727ad65b8b15eeb7f (diff) | |
download | aports-8c271acfb17f0b3491a5bcbaca7513c076a5455c.tar.bz2 aports-8c271acfb17f0b3491a5bcbaca7513c076a5455c.tar.xz |
testing/udns: move to main
Diffstat (limited to 'main/udns')
-rw-r--r-- | main/udns/APKBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/main/udns/APKBUILD b/main/udns/APKBUILD new file mode 100644 index 0000000000..ba2f7e81eb --- /dev/null +++ b/main/udns/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=udns +pkgver=0.4 +pkgrel=0 +pkgdesc="DNS Resolver Library" +url="http://www.corpit.ru/mjt/udns.html" +arch="all" +license="GPL" +depends= +depends_dev= +makedepends="$depends_dev" +install= +subpackages="$pkgname-dev $pkgname-doc" +source="http://www.corpit.ru/mjt/$pkgname/$pkgname-$pkgver.tar.gz" + + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + cd "$_builddir" + ./configure + make || return 1 + make sharedlib || return 1 +} + +package() { + cd "$_builddir" + install -D -m0755 dnsget "${pkgdir}/usr/bin/dnsget" + install -D -m0755 rblcheck "${pkgdir}/usr/bin/rblcheck" + install -D -m0755 ex-rdns "${pkgdir}/usr/bin/ex-rdns" + + install -D -m0644 udns.h "${pkgdir}/usr/include/udns.h" + install -D -m0755 libudns.so.0 "${pkgdir}/usr/lib/libudns.so.0" + ln -s libudns.so.0 "${pkgdir}/usr/lib/libudns.so" + + install -D -m0644 dnsget.1 "${pkgdir}/usr/share/man/man1/dnsget.1" + install -D -m0644 rblcheck.1 "${pkgdir}/usr/share/man/man1/rblcheck.1" + install -D -m0644 udns.3 "${pkgdir}/usr/share/man/man3/udns.3" +} + +md5sums="51e141b044b078d71ebb71f823959c1b udns-0.4.tar.gz" +sha256sums="115108dc791a2f9e99e150012bcb459d9095da2dd7d80699b584ac0ac3768710 udns-0.4.tar.gz" +sha512sums="2990d57b3b6bf176a12ee07fd4391921e13634fc8409e8ce4df8dbe7b3556a116ae59ab328a1b6a95ebc94298f6b56ec7197a06a649d8d642b371b8ecef3e40b udns-0.4.tar.gz" |