# HG changeset patch # User Mallory MOLLO # Date 1240412997 -7200 # Node ID 5af4b670d54845bd3d6a8e2829b3ccb9c8eb8954 # Parent a17a199c9ca3b2b42cdd0e0aa5f1e3657abf3631 Add: xcb-util diff -r a17a199c9ca3 -r 5af4b670d548 xcb-util-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xcb-util-dev/receipt Wed Apr 22 17:09:57 2009 +0200 @@ -0,0 +1,18 @@ + +PACKAGE="xcb-util-dev" +VERSION="0.3.3" +CATEGORY="development" +SHORT_DESC="xcb-util development files" +MAINTAINER="mallory@sweetpeople.org" +WANTED="xcb-util" +WEB_SITE="http://xcb.freedesktop.org" + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib +} diff -r a17a199c9ca3 -r 5af4b670d548 xcb-util/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xcb-util/receipt Wed Apr 22 17:09:57 2009 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="xcb-util" +VERSION="0.3.3" +CATEGORY="x-window" +SHORT_DESC="XCB Utilites" +MAINTAINER="mallory@sweetpeople.org" +DEPENDS="libxcb" +BUILD_DEPENDS="libxcb-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/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} +