mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-28 04:42:14 +01:00
something is wrong with the shared library test. We force it to always belive shared libs works and force it to build. This is just a workaround for now. The proper solution is to find out exactly why the test fails and fix uclibc.
45 lines
970 B
Plaintext
45 lines
970 B
Plaintext
# Contributor: William Pitcock <nenolod@dereferenced.org>
|
|
# Maintainer: William Pitcock <nenolod@dereferenced.org>
|
|
pkgname=talloc
|
|
pkgver=2.0.5
|
|
pkgrel=2
|
|
pkgdesc="memory pool management library"
|
|
url="http://talloc.samba.org/"
|
|
arch="all"
|
|
license="LGPL"
|
|
depends=
|
|
depends_dev=
|
|
replaces="samba-common"
|
|
makedepends="$depends_dev python"
|
|
install=""
|
|
subpackages="$pkgname-dev"
|
|
source="http://samba.org/ftp/${pkgname}/${pkgname}-${pkgver}.tar.gz
|
|
always-libs.patch"
|
|
|
|
_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 --prefix=/usr \
|
|
--disable-python \
|
|
--sysconfdir=/etc || return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="6e3fdfbc43dde8ccba27b6af894b8fb2 talloc-2.0.5.tar.gz
|
|
10304afbc3b00346238bf5a969227c68 always-libs.patch"
|