blob: 63ad9a27395afa291c97c55f7d637fb791a55c08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Contributor: John Regan <john@jrjrtech.com>
# Maintainer: John Regan <john@jrjrtech.com>
pkgname=s6-dns
pkgver=2.0.0.2
pkgrel=0
pkgdesc="skarnet.org's DNS client libraries and command-line DNS client utilities"
url="http://skarnet.org/software/$pkgname/"
arch="all"
license="ISC"
depends="skalibs"
depends_dev="skalibs-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--enable-shared \
--enable-static \
--disable-allstatic \
--prefix=/usr \
--libdir=/usr/lib \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="3ff0a851920d011ed04749ad087ebcf6 s6-dns-2.0.0.2.tar.gz"
sha256sums="b28bbb40b03eb276aed352ab4a7a515615ba0d45029b6688c1dcda86fe3030e8 s6-dns-2.0.0.2.tar.gz"
sha512sums="7a1e9253de932da33769067620ff776fc6c865505373ed3e4162c095f9bfe93c52c2262fd0fdd4ce8e75cd71523146d5636acc1d871d4e035fdacbf7b47af996 s6-dns-2.0.0.2.tar.gz"
|