wok view fakeroot/receipt @ rev 8800

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