blob: 13f81bd68b672edeedc385a265e16ae928883048 (
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
59
60
61
62
63
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=talloc
pkgver=2.0.8
pkgrel=0
pkgdesc="The talloc library"
url="http://talloc.samba.org/"
arch="all"
license="LGPLv3+"
depends=""
depends_dev=""
makedepends="$depends_dev python-dev"
install=""
subpackages="$pkgname-dev py-$pkgname:_py"
source="http://samba.org/ftp/talloc/talloc-$pkgver.tar.gz
ld_library_path.patch"
_builddir="$srcdir"/talloc-$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 \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--bundled-libraries=NONE \
--builtin-libraries=replace \
--disable-rpath \
--disable-rpath-install \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
_py() {
pkgdesc="Python binding for libtalloc"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
}
md5sums="7857200b58a8617ca18fe2c91296cd93 talloc-2.0.8.tar.gz
93da22983adf60cd6d7b546d34bddc72 ld_library_path.patch"
sha256sums="1ec11e635e0318dbbb014db38ff96e8dba3ce5f614eeb7d993b4a5b71c016783 talloc-2.0.8.tar.gz
195482b132793af55a426ca996764a943e0f2dc9b3690e7087360739a47e95a9 ld_library_path.patch"
sha512sums="8e8e71d05443b7ea5d8ac432c1043840000b7b6ebeff6a2f621274f29a298e6c64ad5fb75b59c6138179c5602d6164695b85b57b5b310809150320b6eecd487f talloc-2.0.8.tar.gz
866f272caf3ce44afc3fa00fc148a213b74b3133e45434f3cf6f2653f0bec827bc0eace9d71704778bcc118d53cf222f507983ff3be947cf56a63bc6e042d394 ld_library_path.patch"
|