Files
ports/core/talloc/spkgbuild
2021-02-15 07:38:55 +01:00

29 lines
441 B
Plaintext

# description : Hierarchical, reference counted memory pool system with destructors
# depends : python3
name=talloc
version=2.3.2
release=1
source="https://samba.org/ftp/$name/$name-$version.tar.gz"
build() {
cd $name-$version
cat > which <<EOF
#!/bin/sh
type -p \$1
EOF
chmod +x which
export PATH=$PATH:$PWD
./configure \
--prefix=/usr \
--bundled-libraries=NONE \
--enable-talloc-compat1
make
make DESTDIR=$PKG install
}