wok-6.x view fakeroot/receipt @ rev 14381

re-alpine: build workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 22 22:23:56 2013 +0200 (2013-04-22)
parents c771aa29f5d4
children fcdd50638150
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 TARBALL="${PACKAGE}_${VERSION}.orig.tar.bz2"
9 WEB_SITE="http://packages.debian.org/fakeroot"
10 WGET_URL="http://ftp.debian.org/debian/pool/main/f/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 --disable-static \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }