# HG changeset patch # User Mallory MOLLO # Date 1240412948 -7200 # Node ID b2dc7e5e4d6bbdf49e98e5149e96bf708b301ce4 # Parent 637e958c066cb45d7d12fb6f8cf460e70b2b79eb Add: xcb-proto diff -r 637e958c066c -r b2dc7e5e4d6b xcb-proto/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xcb-proto/receipt Wed Apr 22 17:09:08 2009 +0200 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="xcb-proto" +VERSION="1.4" +CATEGORY="x-window" +SHORT_DESC="XCB protocol." +MAINTAINER="mallory@sweetpeople.org" +DEPENDS="python" +BUILD_DEPENDS="python-dev" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://xcb.freedesktop.org" +WGET_URL="$WEB_SITE/dist/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/share $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} +