wok-next annotate xcb-proto/receipt @ rev 3272
leafpad: Add chinese name and comment to leafpad.desktop
author | Chen Yufei <tsjz@ymail.com> |
---|---|
date | Tue Jun 02 12:41:43 2009 +0800 (2009-06-02) |
parents | |
children | 23ca7e6ba23f |
rev | line source |
---|---|
mallory@2684 | 1 # SliTaz package receipt. |
mallory@2684 | 2 |
mallory@2684 | 3 PACKAGE="xcb-proto" |
mallory@2684 | 4 VERSION="1.4" |
mallory@2684 | 5 CATEGORY="x-window" |
mallory@2684 | 6 SHORT_DESC="XCB protocol." |
mallory@2684 | 7 MAINTAINER="mallory@sweetpeople.org" |
mallory@2684 | 8 DEPENDS="python" |
mallory@2684 | 9 BUILD_DEPENDS="python-dev" |
mallory@2684 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
mallory@2684 | 11 WEB_SITE="http://xcb.freedesktop.org" |
mallory@2684 | 12 WGET_URL="$WEB_SITE/dist/$TARBALL" |
mallory@2684 | 13 |
mallory@2684 | 14 # Rules to configure and make the package. |
mallory@2684 | 15 compile_rules() |
mallory@2684 | 16 { |
mallory@2684 | 17 cd $src |
mallory@2684 | 18 ./configure \ |
mallory@2684 | 19 --prefix=/usr \ |
mallory@2684 | 20 --infodir=/usr/share/info \ |
mallory@2684 | 21 --mandir=/usr/share/man \ |
mallory@2684 | 22 $CONFIGURE_ARGS && |
mallory@2684 | 23 make && make DESTDIR=$PWD/_pkg install |
mallory@2684 | 24 } |
mallory@2684 | 25 |
mallory@2684 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2684 | 27 genpkg_rules() |
mallory@2684 | 28 { |
mallory@2684 | 29 mkdir -p $fs/usr |
mallory@2684 | 30 cp -a $_pkg/usr/share $fs/usr |
mallory@2684 | 31 cp -a $_pkg/usr/lib $fs/usr |
mallory@2684 | 32 } |
mallory@2684 | 33 |