wok-current annotate fakeroot/receipt @ rev 9262
fox14: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 15 09:13:18 2011 +0100 (2011-03-15) |
parents | |
children | 06528d0615fa |
rev | line source |
---|---|
slaxemulator@7613 | 1 # SliTaz package receipt. |
slaxemulator@7613 | 2 |
slaxemulator@7613 | 3 PACKAGE="fakeroot" |
slaxemulator@7613 | 4 VERSION="1.14.5" |
slaxemulator@7613 | 5 CATEGORY="development" |
slaxemulator@7613 | 6 SHORT_DESC="Gives a fake root environment, useful for building packages as a non-privileged user" |
slaxemulator@7613 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7613 | 8 DEPENDS="" |
slaxemulator@7613 | 9 TARBALL="${PACKAGE}_${VERSION}.orig.tar.bz2" |
slaxemulator@7613 | 10 WEB_SITE="http://packages.debian.org/fakeroot" |
slaxemulator@7613 | 11 WGET_URL="http://ftp.debian.org/debian/pool/main/f/$PACKAGE/$TARBALL" |
slaxemulator@7613 | 12 |
slaxemulator@7613 | 13 # Rules to configure and make the package. |
slaxemulator@7613 | 14 compile_rules() |
slaxemulator@7613 | 15 { |
slaxemulator@7613 | 16 cd $src |
slaxemulator@7613 | 17 ./configure \ |
slaxemulator@7613 | 18 --prefix=/usr \ |
slaxemulator@7613 | 19 --infodir=/usr/share/info \ |
slaxemulator@7613 | 20 --mandir=/usr/share/man \ |
slaxemulator@7613 | 21 --disable-static \ |
slaxemulator@7613 | 22 $CONFIGURE_ARGS && |
slaxemulator@7613 | 23 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@7613 | 24 } |
slaxemulator@7613 | 25 |
slaxemulator@7613 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7613 | 27 genpkg_rules() |
slaxemulator@7613 | 28 { |
slaxemulator@7613 | 29 mkdir -p $fs/usr/lib |
slaxemulator@7613 | 30 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7613 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7613 | 32 } |
slaxemulator@7613 | 33 |