wok-current annotate xcb-proto/receipt @ rev 21378

updated lshw (B.02.15 -> B.02.18)
author Hans-G?nter Theisgen
date Mon Apr 22 10:08:28 2019 +0100 (2019-04-22)
parents c358d2c8fa30
children 5d0f9213f0ae
rev   line source
mallory@2684 1 # SliTaz package receipt.
mallory@2684 2
mallory@2684 3 PACKAGE="xcb-proto"
pankso@16193 4 VERSION="1.10"
al@14604 5 CATEGORY="development"
al@14604 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/"
al@14604 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@14604 11 WGET_URL="${WEB_SITE}dist/$TARBALL"
pankso@15951 12 HOST_ARCH="i486 arm"
al@14604 13
pascal@15599 14 DEPENDS="python pkg-config"
al@14604 15 BUILD_DEPENDS="python-dev libxml2-tools"
mallory@2684 16
pankso@15951 17 case "$ARCH" in
pankso@15951 18 arm) BUILD_DEPENDS="" ;;
pankso@15951 19 esac
pankso@15951 20
mallory@2684 21 # Rules to configure and make the package.
mallory@2684 22 compile_rules()
mallory@2684 23 {
mallory@2684 24 ./configure \
al@14604 25 --sysconfdir=/etc \
al@14604 26 --localstatedir=/var \
mallory@2684 27 $CONFIGURE_ARGS &&
al@14604 28 make &&
al@14604 29 make install
mallory@2684 30 }
mallory@2684 31
mallory@2684 32 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2684 33 genpkg_rules()
mallory@2684 34 {
al@14604 35 mkdir -p $fs/usr/share/licenses
al@14604 36 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
al@14604 37
al@14604 38 cp -a $install/* $fs
al@14604 39 # cook removes *.pyc *.pyo files by itself, but they leaves in files.list
al@14604 40 find $fs -name '*.py?' -delete
mallory@2684 41 }