wok annotate xcb-util/receipt @ rev 19364

lxpanel: fix post_install() status
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Aug 03 10:49:18 2016 +0300 (2016-08-03)
parents 4ba762f15bab
children a78610b2eb47
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"
al@18663 10 WEB_SITE="http://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 }