wok annotate xcb-util/receipt @ rev 20715
tor 0.3.5.7
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Feb 07 09:37:17 2019 +0000 (2019-02-07) |
parents | 124c3a7da04f |
children | 3b6916480692 |
rev | line source |
---|---|
mallory@2686 | 1 # SliTaz package receipt. |
mallory@2686 | 2 |
mallory@2686 | 3 PACKAGE="xcb-util" |
pascal@12940 | 4 VERSION="0.3.8" |
mallory@2686 | 5 CATEGORY="x-window" |
mallory@2686 | 6 SHORT_DESC="XCB Utilites" |
mallory@2686 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@15601 | 8 LICENSE="MIT" |
mallory@2686 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20669 | 10 WEB_SITE="https://xcb.freedesktop.org/" |
al@18663 | 11 WGET_URL="${WEB_SITE}dist/$TARBALL" |
pankso@16082 | 12 HOST_ARCH="i486 arm" |
mallory@2686 | 13 |
al@18663 | 14 DEPENDS="libxcb" |
al@18663 | 15 BUILD_DEPENDS="libxcb-dev gperf" |
pankso@16082 | 16 |
pankso@16082 | 17 # Handle cross compilation |
pankso@16082 | 18 case "$ARCH" in |
pankso@16082 | 19 arm*) BUILD_DEPENDS="libxcb-dev xorg-libXdmcp-dev" ;; |
pankso@16082 | 20 esac |
pascal@15601 | 21 |
mallory@2686 | 22 # Rules to configure and make the package. |
mallory@2686 | 23 compile_rules() |
mallory@2686 | 24 { |
mallory@2686 | 25 ./configure \ |
mallory@2686 | 26 --prefix=/usr \ |
mallory@2686 | 27 --infodir=/usr/share/info \ |
mallory@2686 | 28 --mandir=/usr/share/man \ |
mallory@2686 | 29 $CONFIGURE_ARGS && |
slaxemulator@11910 | 30 make && make DESTDIR=$DESTDIR install |
mallory@2686 | 31 } |
mallory@2686 | 32 |
mallory@2686 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2686 | 34 genpkg_rules() |
mallory@2686 | 35 { |
al@18663 | 36 mkdir -p $fs/usr/lib |
pascal@15601 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
mallory@2686 | 38 } |