wok view acl/receipt @ rev 24766

Try fuse2 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 18:06:12 2022 +0000 (2022-03-18)
parents 68cf96abc146
children
line source
1 # SliTaz package receipt.
3 PACKAGE="acl"
4 VERSION="2.3.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Commands for Manipulating POSIX Access Control Lists."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="LGPL2.1 GPL2"
9 WEB_SITE="http://savannah.nongnu.org/projects/acl/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
14 DEPENDS="attr"
15 BUILD_DEPENDS="attr-dev bash libtool"
17 HOST_ARCH="i486 arm"
19 # Handle cross compilation.
20 case "$ARCH" in
21 arm) BUILD_DEPENDS="attr-dev" ;;
22 esac
24 current_version()
25 {
26 wget -O - http://download.savannah.nongnu.org/releases/acl/ 2>/dev/null | \
27 sed '/href="acl/!d;s|.*acl-\([0-9\.]*\)\..*|\1|' | sed '$!d'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 # Need bash as /bin/sh to compile
34 mv /bin/sh /bin/sh.bak
35 ln -s /bin/bash /bin/sh
37 {
38 INSTALL_USER=root \
39 INSTALL_GROUP=root \
40 ./configure \
41 --prefix=/usr \
42 --libdir=/lib \
43 --libexecdir=/usr/lib \
44 $CONFIGURE_ARGS &&
45 make &&
46 DIST_ROOT=$DESTDIR make install
47 } || {
48 mv -f /bin/sh.bak /bin/sh
49 return 1
50 }
52 mv -f /bin/sh.bak /bin/sh
53 }
55 # Rules to gen a SliTaz package suitable for Tazpkg.
56 genpkg_rules()
57 {
58 mkdir -p $fs/lib
59 mkdir -p $fs/usr/lib
61 cp -a $install/lib/*.so* $fs/lib
62 ln -s /lib/libacl.so $fs/usr/lib/libacl.so
63 cp -a $install/usr/bin $fs/usr
64 }