wok view fakeroot/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 06528d0615fa
children ea500bc83235
line source
1 # SliTaz package receipt.
3 PACKAGE="fakeroot"
4 VERSION="1.15.1"
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 LICENSE="GPL2"
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=$DESTDIR 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 $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }