wok-current annotate xorg-libXcomposite/receipt @ rev 24742
updated libffcall (2.2 -> 2.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 10:31:26 2022 +0100 (2022-03-16) |
parents | ec3baa6deeda |
children | 5926178cd6fa |
rev | line source |
---|---|
pankso@87 | 1 # SliTaz package receipt. |
pankso@87 | 2 |
pankso@87 | 3 PACKAGE="xorg-libXcomposite" |
Hans-G?nter@22209 | 4 VERSION="0.4.5" |
pankso@87 | 5 CATEGORY="x-window" |
Hans-G?nter@22209 | 6 SHORT_DESC="X Composite Extension Library." |
pankso@87 | 7 MAINTAINER="pankso@slitaz.org" |
al@14643 | 8 LICENSE="other" |
Hans-G?nter@22209 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22209 | 10 |
pankso@87 | 11 SOURCE="libXcomposite" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@87 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@87 | 14 |
al@14643 | 15 DEPENDS="xorg-libX11" |
al@14643 | 16 BUILD_DEPENDS="xorg-compositeproto xorg-libXfixes-dev" |
al@14643 | 17 |
Hans-G?nter@22209 | 18 HOST_ARCH="i486 arm" |
Hans-G?nter@22209 | 19 |
pascal@24072 | 20 current_version() |
pascal@24072 | 21 { |
pascal@24072 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 24 } |
pascal@24072 | 25 |
pankso@87 | 26 # Rules to configure and make the package. |
pankso@87 | 27 compile_rules() |
pankso@87 | 28 { |
Hans-G?nter@22209 | 29 ./configure \ |
Hans-G?nter@22209 | 30 --sysconfdir=/etc \ |
Hans-G?nter@22209 | 31 --localstatedir=/var \ |
Hans-G?nter@22209 | 32 --disable-static \ |
al@14643 | 33 $CONFIGURE_ARGS && |
al@14643 | 34 make && |
al@14643 | 35 make install |
pankso@87 | 36 } |
pankso@87 | 37 |
pankso@87 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@87 | 39 genpkg_rules() |
pankso@87 | 40 { |
pankso@87 | 41 mkdir -p $fs/usr/lib |
al@14643 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@87 | 43 } |