wok annotate xcb-proto/receipt @ rev 24031

updated dialog (1.3_20190211 -> 1.3_20210324)
author Hans-G?nter Theisgen
date Tue Apr 06 13:52:57 2021 +0100 (2021-04-06)
parents 5d0f9213f0ae
children 535c806240cc
rev   line source
mallory@2684 1 # SliTaz package receipt.
mallory@2684 2
mallory@2684 3 PACKAGE="xcb-proto"
Hans-G?nter@23743 4 VERSION="1.14"
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
Hans-G?nter@23743 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@23743 12 WGET_URL="https://xorg.freedesktop.org/archive/individual/proto/$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
Hans-G?nter@23743 23 # @maintainer: Please update also: libxcb and libxcb-dev
Hans-G?nter@23743 24
mallory@2684 25 # Rules to configure and make the package.
mallory@2684 26 compile_rules()
mallory@2684 27 {
Hans-G?nter@22154 28 ./configure \
Hans-G?nter@22154 29 --sysconfdir=/etc \
Hans-G?nter@22154 30 --localstatedir=/var \
mallory@2684 31 $CONFIGURE_ARGS &&
al@14604 32 make &&
al@14604 33 make install
mallory@2684 34 }
mallory@2684 35
mallory@2684 36 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2684 37 genpkg_rules()
mallory@2684 38 {
al@14604 39 mkdir -p $fs/usr/share/licenses
al@14604 40
Hans-G?nter@23743 41 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
Hans-G?nter@23743 42 cp -a $install/* $fs
Hans-G?nter@23743 43
Hans-G?nter@22154 44 # cook removes *.pyc *.pyo files by itself, but leaves them in files.list
al@14604 45 find $fs -name '*.py?' -delete
mallory@2684 46 }