blob: 705059d31ae462758053a6ddb367bc8e8e4a2d61 (
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
51
52
53
54
55
56
57
58
|
# Contributor: John Regan <john@jrjrtech.com>
# Maintainer: John Regan <john@jrjrtech.com>
pkgname=skalibs
pkgver=2.3.6.0
pkgrel=0
pkgdesc="A set of general-purpose C programming libraries for skarnet.org software."
url="http://skarnet.org/software/skalibs/"
arch="all"
license="ISC"
depends=""
depends_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 \
--prefix=/usr \
--libdir=/usr/lib \
--datadir=/etc \
--enable-force-devr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
dev() {
default_dev
cd "$subpkgdir"
mv "$pkgdir/usr/lib/skalibs/sysdeps/"* usr/lib/skalibs/sysdeps/
rm -rf "$pkgdir/usr/lib/skalibs"
}
md5sums="5feba2a07ba14d0fef5feb60d1dab87b skalibs-2.3.6.0.tar.gz"
sha256sums="ce38a9a6d206789b9e782d2846946429d1765974fdd77270c5bdefe24ca613a1 skalibs-2.3.6.0.tar.gz"
sha512sums="8a313f9739b2cb3611b78de6fb5458349d49ea570dfa9c2a8aa5a714cbbd70e0b521ec63c5c7b3a24c4492c4f25498d45db28e0b537a356fa76246af69adb5b3 skalibs-2.3.6.0.tar.gz"
|