wok-6.x annotate xcb-util/receipt @ rev 25234
updated python-routes (2.4.1 -> 2.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:31:59 2022 +0100 (2022-07-13) |
parents | 3b6916480692 |
children |
rev | line source |
---|---|
mallory@2686 | 1 # SliTaz package receipt. |
mallory@2686 | 2 |
mallory@2686 | 3 PACKAGE="xcb-util" |
Hans-G?nter@22155 | 4 VERSION="0.4.0" |
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" |
Hans-G?nter@22155 | 9 WEB_SITE="https://xcb.freedesktop.org/XcbUtil/" |
Hans-G?nter@22155 | 10 |
mallory@2686 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@22155 | 12 WGET_URL="https://xcb.freedesktop.org/dist/$TARBALL" |
mallory@2686 | 13 |
al@18663 | 14 DEPENDS="libxcb" |
Hans-G?nter@22155 | 15 BUILD_DEPENDS="gperf libxcb-dev" |
Hans-G?nter@22155 | 16 |
Hans-G?nter@22155 | 17 HOST_ARCH="i486 arm" |
pankso@16082 | 18 |
pankso@16082 | 19 # Handle cross compilation |
pankso@16082 | 20 case "$ARCH" in |
pankso@16082 | 21 arm*) BUILD_DEPENDS="libxcb-dev xorg-libXdmcp-dev" ;; |
pankso@16082 | 22 esac |
pascal@15601 | 23 |
pascal@24072 | 24 current_version() |
pascal@24072 | 25 { |
pascal@24072 | 26 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 27 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 28 } |
pascal@24072 | 29 |
mallory@2686 | 30 # Rules to configure and make the package. |
mallory@2686 | 31 compile_rules() |
mallory@2686 | 32 { |
Hans-G?nter@22155 | 33 ./configure \ |
Hans-G?nter@22155 | 34 --prefix=/usr \ |
Hans-G?nter@22155 | 35 --infodir=/usr/share/info \ |
Hans-G?nter@22155 | 36 --mandir=/usr/share/man \ |
mallory@2686 | 37 $CONFIGURE_ARGS && |
Hans-G?nter@22155 | 38 make && |
Hans-G?nter@22155 | 39 make DESTDIR=$DESTDIR install |
mallory@2686 | 40 } |
mallory@2686 | 41 |
mallory@2686 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2686 | 43 genpkg_rules() |
mallory@2686 | 44 { |
al@18663 | 45 mkdir -p $fs/usr/lib |
Hans-G?nter@22155 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
mallory@2686 | 47 } |