wok diff xcb-proto/receipt @ rev 2684
Add: xcb-proto
author | Mallory MOLLO <mallory@skyrock.com> |
---|---|
date | Wed Apr 22 17:09:08 2009 +0200 (2009-04-22) |
parents | |
children | 23ca7e6ba23f |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xcb-proto/receipt Wed Apr 22 17:09:08 2009 +0200 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="xcb-proto" 1.7 +VERSION="1.4" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="XCB protocol." 1.10 +MAINTAINER="mallory@sweetpeople.org" 1.11 +DEPENDS="python" 1.12 +BUILD_DEPENDS="python-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://xcb.freedesktop.org" 1.15 +WGET_URL="$WEB_SITE/dist/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure \ 1.22 + --prefix=/usr \ 1.23 + --infodir=/usr/share/info \ 1.24 + --mandir=/usr/share/man \ 1.25 + $CONFIGURE_ARGS && 1.26 + make && make DESTDIR=$PWD/_pkg install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr 1.33 + cp -a $_pkg/usr/share $fs/usr 1.34 + cp -a $_pkg/usr/lib $fs/usr 1.35 +} 1.36 +