wok view acl/receipt @ rev 20543

Remove linux-mmc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 01 11:07:58 2018 +0100 (2018-12-01)
parents ed16b1f1124a
children 68cf96abc146
line source
1 # SliTaz package receipt.
3 PACKAGE="acl"
4 VERSION="2.2.53"
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="attr"
15 BUILD_DEPENDS="attr-dev bash libtool"
17 # Handle cross compilation.
18 case "$ARCH" in
19 arm) BUILD_DEPENDS="attr-dev" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 # Need bash as /bin/sh to compile
26 mv /bin/sh /bin/sh.bak
27 ln -s /bin/bash /bin/sh
29 {
30 INSTALL_USER=root \
31 INSTALL_GROUP=root \
32 ./configure \
33 --prefix=/usr \
34 --libdir=/lib \
35 --libexecdir=/usr/lib \
36 $CONFIGURE_ARGS &&
37 make &&
38 DIST_ROOT=$DESTDIR make install
39 } || {
40 mv -f /bin/sh.bak /bin/sh; return 1
41 }
43 mv -f /bin/sh.bak /bin/sh
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/lib $fs/usr/lib
50 cp -a $install/lib/*.so* $fs/lib
51 ln -s /lib/libacl.so $fs/usr/lib/libacl.so
52 cp -a $install/usr/bin $fs/usr
53 }