wok-6.x view xcb-util/receipt @ rev 7613
Add fakeroot. Gives a fake root enviroment, useful for building packages as a non-privileged user.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Dec 11 21:32:22 2010 +0000 (2010-12-11) |
parents | e2ae0e65c659 |
children | d363995c1565 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xcb-util"
4 VERSION="0.3.6"
5 CATEGORY="x-window"
6 SHORT_DESC="XCB Utilites"
7 MAINTAINER="mallory@sweetpeople.org"
8 DEPENDS="libxcb xorg-libXdmcp"
9 BUILD_DEPENDS="libxcb-dev libxcb gperf"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://xcb.freedesktop.org"
12 WGET_URL="$WEB_SITE/dist/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
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/lib/*.so* $fs/usr/lib
31 }