wok annotate acl/receipt @ rev 3746
Add: acl
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Jul 23 13:37:17 2009 +0000 (2009-07-23) |
parents | |
children | 22fccd4d5400 |
rev | line source |
---|---|
rcx@3746 | 1 # SliTaz package receipt. |
rcx@3746 | 2 |
rcx@3746 | 3 PACKAGE="acl" |
rcx@3746 | 4 VERSION="2.2.47-1" |
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" |
rcx@3746 | 8 DEPENDS="glibc-base attr" |
rcx@3746 | 9 BUILD_DEPENDS="slitaz-toolchain autoconf automake m4 libtool gettext" |
rcx@3746 | 10 TARBALL="${PACKAGE}_${VERSION}.tar.gz" |
rcx@3746 | 11 WEB_SITE="http://savannah.nongnu.org/projects/acl/" |
rcx@3746 | 12 WGET_URL="ftp://oss.sgi.com/projects/xfs/cmd_tars/$TARBALL" |
rcx@3746 | 13 |
rcx@3746 | 14 # Rules to configure and make the package. |
rcx@3746 | 15 compile_rules() |
rcx@3746 | 16 { |
rcx@3746 | 17 mv $PACKAGE-2.2.47 $PACKAGE-$VERSION |
rcx@3746 | 18 |
rcx@3746 | 19 cd $src |
rcx@3746 | 20 |
rcx@3746 | 21 # Patch commands are from http://minimalinux.org/forum/viewtopic.php?pid=1446#p1446 |
rcx@3746 | 22 |
rcx@3746 | 23 # these sed lines replace the patch "attr.destdir.diff" from the Slackware source files |
rcx@3746 | 24 sed -i s%"@bindir@"%"\$\(DESTDIR\)@bindir@"% include/builddefs.in |
rcx@3746 | 25 sed -i s%"@sbindir@"%"\$\(DESTDIR\)@sbindir@"% include/builddefs.in |
rcx@3746 | 26 sed -i s%"@libdir@@libdirsuffix@"%"\$\(DESTDIR\)@libdir@@libdirsuffix@"% include/builddefs.in |
rcx@3746 | 27 sed -i s%"@libexecdir@@libdirsuffix@"%"\$\(DESTDIR\)@libexecdir@@libdirsuffix@"% include/builddefs.in |
rcx@3746 | 28 sed -i s%"@includedir@/attr"%"\$\(DESTDIR\)@includedir@/attr"% include/builddefs.in |
rcx@3746 | 29 sed -i s%"@mandir@"%"\$\(DESTDIR\)@mandir@"% include/builddefs.in |
rcx@3746 | 30 |
rcx@3746 | 31 # force docdir conformance to Slack default |
rcx@3746 | 32 sed -i s%"@datadir@/doc/@pkg_name@"%"\$\(DESTDIR\)/usr/doc/@pkg_name@-\$\(VERSION\)"% include/builddefs.in |
rcx@3746 | 33 sed -i s%"@datadir@/locale"%"\$\(DESTDIR\)@datadir@/locale"% include/builddefs.in |
rcx@3746 | 34 |
rcx@3746 | 35 # Don't need to build man and doc |
rcx@3746 | 36 rm -r -f man |
rcx@3746 | 37 rm -r -f doc |
rcx@3746 | 38 |
rcx@3746 | 39 ./configure \ |
rcx@3746 | 40 --prefix=/usr \ |
rcx@3746 | 41 $CONFIGURE_ARGS && |
rcx@3746 | 42 make && |
rcx@3746 | 43 make DESTDIR=$src/_pkg install install-lib install-dev |
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 { |
rcx@3746 | 49 mkdir -p $fs/usr/lib |
rcx@3746 | 50 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
rcx@3746 | 51 |
rcx@3746 | 52 mkdir -p $fs/usr/libexec |
rcx@3746 | 53 cp -a $_pkg/usr/libexec/*.so* $fs/usr/libexec |
rcx@3746 | 54 |
rcx@3746 | 55 cp -a $_pkg/usr/bin $fs/usr |
rcx@3746 | 56 } |