wok annotate chrpath/receipt @ rev 9510

Fixed glib. Need to have --sysconfdir=/etc or /etc ends up in /usr folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Apr 06 08:10:27 2011 +0000 (2011-04-06)
parents
children eb8067417980
rev   line source
slaxemulator@6581 1 # SliTaz package receipt.
slaxemulator@6581 2
slaxemulator@6581 3 PACKAGE="chrpath"
slaxemulator@6581 4 VERSION="0.13"
slaxemulator@6581 5 CATEGORY="misc"
slaxemulator@6581 6 SHORT_DESC="Change or delete the rpath or runpath in ELF files"
slaxemulator@6581 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@6581 8 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
slaxemulator@6581 9 WEB_SITE="http://packages.debian.org/chrpath"
slaxemulator@6581 10 WGET_URL="http://ftp.debian.org/debian/pool/main/c/$PACKAGE/$TARBALL"
slaxemulator@6581 11
slaxemulator@6581 12 # Rules to configure and make the package.
slaxemulator@6581 13 compile_rules()
slaxemulator@6581 14 {
slaxemulator@6581 15 cd $src
slaxemulator@6581 16 ./configure \
slaxemulator@6581 17 --prefix=/usr \
slaxemulator@6581 18 --infodir=/usr/share/info \
slaxemulator@6581 19 --mandir=/usr/share/man \
slaxemulator@6581 20 $CONFIGURE_ARGS &&
slaxemulator@6581 21 make && make DESTDIR=$PWD/_pkg install
slaxemulator@6581 22 }
slaxemulator@6581 23
slaxemulator@6581 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6581 25 genpkg_rules()
slaxemulator@6581 26 {
slaxemulator@6581 27 mkdir -p $fs/usr
slaxemulator@6581 28 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6581 29 }
slaxemulator@6581 30