rev |
line source |
slaxemulator@7613
|
1 # SliTaz package receipt.
|
slaxemulator@7613
|
2
|
slaxemulator@7613
|
3 PACKAGE="fakeroot"
|
Hans-G?nter@20910
|
4 VERSION="1.23"
|
slaxemulator@7613
|
5 CATEGORY="development"
|
Hans-G?nter@20910
|
6 SHORT_DESC="Gives a fake root environment, useful for building packages as a non-privileged user."
|
slaxemulator@7613
|
7 MAINTAINER="slaxemulator@gmail.com"
|
pascal@15588
|
8 LICENSE="GPL2"
|
slaxemulator@7613
|
9 WEB_SITE="http://packages.debian.org/fakeroot"
|
Hans-G?nter@20910
|
10
|
Hans-G?nter@20910
|
11 TARBALL="${PACKAGE}_${VERSION}.orig.tar.xz"
|
slaxemulator@7613
|
12 WGET_URL="http://ftp.debian.org/debian/pool/main/f/$PACKAGE/$TARBALL"
|
slaxemulator@7613
|
13
|
Hans-G?nter@20910
|
14 BUILD_DEPENDS="libcap-dev"
|
Hans-G?nter@20910
|
15
|
slaxemulator@7613
|
16 # Rules to configure and make the package.
|
slaxemulator@7613
|
17 compile_rules()
|
slaxemulator@7613
|
18 {
|
slaxemulator@7613
|
19 ./configure \
|
slaxemulator@7613
|
20 --prefix=/usr \
|
slaxemulator@7613
|
21 --infodir=/usr/share/info \
|
slaxemulator@7613
|
22 --mandir=/usr/share/man \
|
slaxemulator@7613
|
23 --disable-static \
|
slaxemulator@7613
|
24 $CONFIGURE_ARGS &&
|
Hans-G?nter@20910
|
25 make -j 1 &&
|
Hans-G?nter@20910
|
26 make DESTDIR=$DESTDIR install
|
slaxemulator@7613
|
27 }
|
slaxemulator@7613
|
28
|
slaxemulator@7613
|
29 # Rules to gen a SliTaz package suitable for Tazpkg.
|
slaxemulator@7613
|
30 genpkg_rules()
|
slaxemulator@7613
|
31 {
|
slaxemulator@7613
|
32 mkdir -p $fs/usr/lib
|
pascal@15588
|
33 cp -a $install/usr/bin $fs/usr
|
pascal@15588
|
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
|
slaxemulator@7613
|
35 }
|