wok-stable diff attr/receipt @ rev 3698
fix id3tag.pc
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Jul 17 07:52:06 2009 +0000 (2009-07-17) |
parents | |
children | 9c0f256e44ac |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/attr/receipt Fri Jul 17 07:52:06 2009 +0000 1.3 @@ -0,0 +1,58 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="attr" 1.7 +VERSION="2.4.43-1" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Commands for Manipulating Filesystem Extended Attributes." 1.10 +MAINTAINER="rcx@zoominternet.net" 1.11 +DEPENDS="glibc-base" 1.12 +BUILD_DEPENDS="slitaz-toolchain autoconf automake m4 libtool gettext" 1.13 +TARBALL="${PACKAGE}_${VERSION}.tar.gz" 1.14 +WEB_SITE="http://savannah.nongnu.org/projects/attr/" 1.15 +WGET_URL="ftp://oss.sgi.com/projects/xfs/cmd_tars/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + mv $PACKAGE-2.4.43 $PACKAGE-$VERSION 1.21 + 1.22 + cd $src 1.23 + 1.24 + # Patch commands are from http://minimalinux.org/forum/viewtopic.php?pid=1446#p1446 1.25 + 1.26 + # Backup install script 1.27 + cp -f install-sh install-sh.orig 1.28 + 1.29 + # these sed lines replace the patch "attr.destdir.diff" from the Slackware source files 1.30 + sed -i s%"@bindir@"%"\$\(DESTDIR\)@bindir@"% include/builddefs.in 1.31 + sed -i s%"@sbindir@"%"\$\(DESTDIR\)@sbindir@"% include/builddefs.in 1.32 + sed -i s%"@libdir@@libdirsuffix@"%"\$\(DESTDIR\)@libdir@@libdirsuffix@"% include/builddefs.in 1.33 + sed -i s%"@libexecdir@@libdirsuffix@"%"\$\(DESTDIR\)@libexecdir@@libdirsuffix@"% include/builddefs.in 1.34 + sed -i s%"@includedir@/attr"%"\$\(DESTDIR\)@includedir@/attr"% include/builddefs.in 1.35 + sed -i s%"@mandir@"%"\$\(DESTDIR\)@mandir@"% include/builddefs.in 1.36 + 1.37 + # force docdir conformance to Slack default 1.38 + #sed -i s%"@datadir@/doc/@pkg_name@"%"\$\(DESTDIR\)/usr/doc/@pkg_name@-\$\(VERSION\)"% include/builddefs.in 1.39 + sed -i s%"@datadir@/locale"%"\$\(DESTDIR\)@datadir@/locale"% include/builddefs.in 1.40 + 1.41 + # Restore install script 1.42 + cp -f install-sh.orig install.sh 1.43 + 1.44 + # Don't need to build man and doc 1.45 + rm -r -f man 1.46 + rm -r -f doc 1.47 + 1.48 + make LOCAL_CONFIGURE_OPTIONS="$CONFIGURE_ARGS" && 1.49 + make DESTDIR=$src/_pkg install install-lib install-dev 1.50 +} 1.51 + 1.52 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.53 +genpkg_rules() 1.54 +{ 1.55 + mkdir -p $fs/lib 1.56 + mkdir -p $fs/usr/lib 1.57 + cp -a $_pkg/lib/*.so* $fs/lib 1.58 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.59 + 1.60 + cp -a $_pkg/usr/bin $fs/usr 1.61 +}