wok-4.x rev 3746
Add: acl
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Jul 23 13:37:17 2009 +0000 (2009-07-23) |
parents | 3a9a515bf97c |
children | 22fccd4d5400 |
files | acl-dev/receipt acl/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/acl-dev/receipt Thu Jul 23 13:37:17 2009 +0000 1.3 @@ -0,0 +1,23 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="acl-dev" 1.7 +VERSION="2.2.47-1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Development files for acl." 1.10 +MAINTAINER="rcx@zoominternet.net" 1.11 +DEPENDS="" 1.12 +WEB_SITE="http://savannah.nongnu.org/projects/acl/" 1.13 +WANTED="acl" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib 1.19 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.20 + 1.21 + mkdir -p $fs/usr/libexec 1.22 + cp -a $_pkg/usr/libexec/*.*a $fs/usr/libexec 1.23 + 1.24 + cp -a $_pkg/usr/include $fs/usr 1.25 +} 1.26 +z
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/acl/receipt Thu Jul 23 13:37:17 2009 +0000 2.3 @@ -0,0 +1,56 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="acl" 2.7 +VERSION="2.2.47-1" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="Commands for Manipulating POSIX Access Control Lists." 2.10 +MAINTAINER="rcx@zoominternet.net" 2.11 +DEPENDS="glibc-base attr" 2.12 +BUILD_DEPENDS="slitaz-toolchain autoconf automake m4 libtool gettext" 2.13 +TARBALL="${PACKAGE}_${VERSION}.tar.gz" 2.14 +WEB_SITE="http://savannah.nongnu.org/projects/acl/" 2.15 +WGET_URL="ftp://oss.sgi.com/projects/xfs/cmd_tars/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + mv $PACKAGE-2.2.47 $PACKAGE-$VERSION 2.21 + 2.22 + cd $src 2.23 + 2.24 + # Patch commands are from http://minimalinux.org/forum/viewtopic.php?pid=1446#p1446 2.25 + 2.26 + # these sed lines replace the patch "attr.destdir.diff" from the Slackware source files 2.27 + sed -i s%"@bindir@"%"\$\(DESTDIR\)@bindir@"% include/builddefs.in 2.28 + sed -i s%"@sbindir@"%"\$\(DESTDIR\)@sbindir@"% include/builddefs.in 2.29 + sed -i s%"@libdir@@libdirsuffix@"%"\$\(DESTDIR\)@libdir@@libdirsuffix@"% include/builddefs.in 2.30 + sed -i s%"@libexecdir@@libdirsuffix@"%"\$\(DESTDIR\)@libexecdir@@libdirsuffix@"% include/builddefs.in 2.31 + sed -i s%"@includedir@/attr"%"\$\(DESTDIR\)@includedir@/attr"% include/builddefs.in 2.32 + sed -i s%"@mandir@"%"\$\(DESTDIR\)@mandir@"% include/builddefs.in 2.33 + 2.34 + # force docdir conformance to Slack default 2.35 + sed -i s%"@datadir@/doc/@pkg_name@"%"\$\(DESTDIR\)/usr/doc/@pkg_name@-\$\(VERSION\)"% include/builddefs.in 2.36 + sed -i s%"@datadir@/locale"%"\$\(DESTDIR\)@datadir@/locale"% include/builddefs.in 2.37 + 2.38 + # Don't need to build man and doc 2.39 + rm -r -f man 2.40 + rm -r -f doc 2.41 + 2.42 + ./configure \ 2.43 + --prefix=/usr \ 2.44 + $CONFIGURE_ARGS && 2.45 + make && 2.46 + make DESTDIR=$src/_pkg install install-lib install-dev 2.47 +} 2.48 + 2.49 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.50 +genpkg_rules() 2.51 +{ 2.52 + mkdir -p $fs/usr/lib 2.53 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.54 + 2.55 + mkdir -p $fs/usr/libexec 2.56 + cp -a $_pkg/usr/libexec/*.so* $fs/usr/libexec 2.57 + 2.58 + cp -a $_pkg/usr/bin $fs/usr 2.59 +}