aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-26 16:56:36 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-27 06:37:18 +0000
commit0eb18dbb4c40f5a53a87065aa959a35b08fb8c9b (patch)
treef72eac05b2ccd81b8bbc43c3485b89ba4fdf9e7f
parent675e944a46697f6343585fd982ec1ab1e09e6456 (diff)
downloadaports-0eb18dbb4c40f5a53a87065aa959a35b08fb8c9b.tar.bz2
aports-0eb18dbb4c40f5a53a87065aa959a35b08fb8c9b.tar.xz
main/udns: modernize, fix license
-rw-r--r--main/udns/APKBUILD25
1 files changed, 5 insertions, 20 deletions
diff --git a/main/udns/APKBUILD b/main/udns/APKBUILD
index f1dbc9b1c4..29d30b20dd 100644
--- a/main/udns/APKBUILD
+++ b/main/udns/APKBUILD
@@ -1,35 +1,22 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=udns
pkgver=0.4
-pkgrel=0
+pkgrel=1
pkgdesc="DNS Resolver Library"
+options="!check" # No testsuite
url="http://www.corpit.ru/mjt/udns.html"
arch="all"
-license="GPL"
-depends=
-depends_dev=
-makedepends="$depends_dev"
-install=
+license="LGPL-2.1-or-later"
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
+ make
+ make sharedlib
}
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"
@@ -43,6 +30,4 @@ package() {
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"