wok view acl/receipt @ rev 14815

Up: exo,exo-tools (0.8.0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jul 17 13:41:03 2013 +0200 (2013-07-17)
parents 2b8af769d8a8
children 7e1257627587
line source
1 # SliTaz package receipt.
3 PACKAGE="acl"
4 VERSION="2.2.51"
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.src.tar.gz"
11 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
13 DEPENDS="attr glibc-base"
14 BUILD_DEPENDS="attr-dev bash libtool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Need bash as /bin/sh to compile
20 mv /bin/sh /bin/sh.bak
21 ln -s /bin/bash /bin/sh
23 {
24 INSTALL_USER=root \
25 INSTALL_GROUP=root \
26 ./configure \
27 --prefix=/usr \
28 --libdir=/lib \
29 --libexecdir=/usr/lib \
30 $CONFIGURE_ARGS &&
31 make &&
32 DIST_ROOT=$DESTDIR \
33 make install install-lib install-dev
34 } || {
35 mv -f /bin/sh.bak /bin/sh; return 1
36 }
38 mv -f /bin/sh.bak /bin/sh
39 # .so and .la files must be executable
40 find $install -type f -name '*.[sl][oa]*' -exec chmod a+x \{\} \;
41 sed -i "s|libdir='/lib'|libdir='/usr/lib'|" $install/usr/lib/libacl.la
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/lib $fs/usr/lib
48 cp -a $install/lib/*.so* $fs/lib
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
50 cp -a $install/usr/bin $fs/usr
51 }