blob: a6176b6ef03448fe9efa4f8ac21e56c9d90efdff (
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
|
# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
# Contributor: John Regan <john@jrjrtech.com>
pkgname=skalibs
pkgver=2.6.2.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"
options="!check"
subpackages="$pkgname-dev $pkgname-doc"
source="http://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--enable-shared \
--enable-static \
--libdir=/usr/lib \
--enable-clock
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
dev() {
default_dev
mv "$pkgdir/usr/lib/$pkgname"/sysdeps/* \
"$subpkgdir/usr/lib/$pkgname"/sysdeps/
rm -rf "$pkgdir"/usr
}
doc() {
default_doc
mkdir -p "$subpkgdir/usr/share/doc"
cp -a "$builddir/doc" "$subpkgdir/usr/share/doc/$pkgname"
}
sha512sums="a24e7e7ddd8c51d22bec79240fba2b751525a4144fc97a98593bddf27ce8dd4c3fdd0df1a2466368910d490fd7b40cf6c64f47ee310b205b9569769eb9634bde skalibs-2.6.2.0.tar.gz"
|