wok annotate acl/receipt @ rev 24040

Up zstd (1.4.9)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 13 17:03:24 2021 +0000 (2021-04-13)
parents ed16b1f1124a
children 68cf96abc146
rev   line source
rcx@3746 1 # SliTaz package receipt.
rcx@3746 2
rcx@3746 3 PACKAGE="acl"
Hans-G?nter@20509 4 VERSION="2.2.53"
rcx@3746 5 CATEGORY="system-tools"
rcx@3746 6 SHORT_DESC="Commands for Manipulating POSIX Access Control Lists."
rcx@3746 7 MAINTAINER="rcx@zoominternet.net"
al@14766 8 LICENSE="LGPL2.1 GPL2"
rcx@3746 9 WEB_SITE="http://savannah.nongnu.org/projects/acl/"
Hans-G?nter@20509 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@14766 11 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
pankso@16066 12 HOST_ARCH="i486 arm"
al@14766 13
pankso@15988 14 DEPENDS="attr"
al@14766 15 BUILD_DEPENDS="attr-dev bash libtool"
rcx@3746 16
pankso@15988 17 # Handle cross compilation.
pankso@15988 18 case "$ARCH" in
pankso@15988 19 arm) BUILD_DEPENDS="attr-dev" ;;
pankso@15988 20 esac
pankso@15988 21
rcx@3746 22 # Rules to configure and make the package.
rcx@3746 23 compile_rules()
rcx@3746 24 {
al@14766 25 # Need bash as /bin/sh to compile
gokhlayeh@7894 26 mv /bin/sh /bin/sh.bak
gokhlayeh@7894 27 ln -s /bin/bash /bin/sh
gokhlayeh@7894 28
al@14766 29 {
al@14766 30 INSTALL_USER=root \
al@14766 31 INSTALL_GROUP=root \
al@14766 32 ./configure \
al@14766 33 --prefix=/usr \
al@14766 34 --libdir=/lib \
al@14766 35 --libexecdir=/usr/lib \
al@14766 36 $CONFIGURE_ARGS &&
al@14766 37 make &&
pascal@20512 38 DIST_ROOT=$DESTDIR make install
al@14766 39 } || {
al@14766 40 mv -f /bin/sh.bak /bin/sh; return 1
al@14766 41 }
gokhlayeh@7894 42
gokhlayeh@7894 43 mv -f /bin/sh.bak /bin/sh
rcx@3746 44 }
rcx@3746 45
rcx@3746 46 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3746 47 genpkg_rules()
rcx@3746 48 {
gokhlayeh@8050 49 mkdir -p $fs/lib $fs/usr/lib
al@14766 50 cp -a $install/lib/*.so* $fs/lib
pascal@20511 51 ln -s /lib/libacl.so $fs/usr/lib/libacl.so
al@14766 52 cp -a $install/usr/bin $fs/usr
rcx@3746 53 }