wok annotate xcb-proto/receipt @ rev 23367
updated perl-math-round (0.06 -> 0.07)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 13:15:04 2020 +0100 (2020-03-31) |
parents | a78610b2eb47 |
children | 8b1267de9505 |
rev | line source |
---|---|
mallory@2684 | 1 # SliTaz package receipt. |
mallory@2684 | 2 |
mallory@2684 | 3 PACKAGE="xcb-proto" |
Hans-G?nter@22154 | 4 VERSION="1.13" |
al@14604 | 5 CATEGORY="development" |
Hans-G?nter@22154 | 6 SHORT_DESC="X protocol descriptions for XCB." |
mallory@2684 | 7 MAINTAINER="mallory@sweetpeople.org" |
al@14604 | 8 LICENSE="other" |
pascal@20669 | 9 WEB_SITE="https://xcb.freedesktop.org/" |
Hans-G?nter@22154 | 10 |
al@14604 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@14604 | 12 WGET_URL="${WEB_SITE}dist/$TARBALL" |
Hans-G?nter@22154 | 13 |
Hans-G?nter@22154 | 14 DEPENDS="pkg-config python" |
Hans-G?nter@22154 | 15 BUILD_DEPENDS="libxml2-tools python-dev" |
Hans-G?nter@22154 | 16 |
pankso@15951 | 17 HOST_ARCH="i486 arm" |
al@14604 | 18 |
pankso@15951 | 19 case "$ARCH" in |
pankso@15951 | 20 arm) BUILD_DEPENDS="" ;; |
pankso@15951 | 21 esac |
pankso@15951 | 22 |
mallory@2684 | 23 # Rules to configure and make the package. |
mallory@2684 | 24 compile_rules() |
mallory@2684 | 25 { |
Hans-G?nter@22154 | 26 ./configure \ |
Hans-G?nter@22154 | 27 --sysconfdir=/etc \ |
Hans-G?nter@22154 | 28 --localstatedir=/var \ |
mallory@2684 | 29 $CONFIGURE_ARGS && |
al@14604 | 30 make && |
al@14604 | 31 make install |
mallory@2684 | 32 } |
mallory@2684 | 33 |
mallory@2684 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2684 | 35 genpkg_rules() |
mallory@2684 | 36 { |
al@14604 | 37 mkdir -p $fs/usr/share/licenses |
al@14604 | 38 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt |
al@14604 | 39 |
al@14604 | 40 cp -a $install/* $fs |
Hans-G?nter@22154 | 41 # cook removes *.pyc *.pyo files by itself, but leaves them in files.list |
al@14604 | 42 find $fs -name '*.py?' -delete |
mallory@2684 | 43 } |