wok annotate xorg-libXdamage/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (16 months ago)
parents 14933038b9c4
children
rev   line source
pankso@87 1 # SliTaz package receipt.
pankso@87 2
pankso@87 3 PACKAGE="xorg-libXdamage"
Hans-G?nter@22211 4 VERSION="1.1.5"
pankso@87 5 CATEGORY="x-window"
Hans-G?nter@22211 6 SHORT_DESC="X Damage Library."
pankso@87 7 MAINTAINER="pankso@slitaz.org"
al@14644 8 LICENSE="other"
Hans-G?nter@22211 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22211 10
pankso@87 11 SOURCE="libXdamage"
gokhlayeh@6993 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pankso@87 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
pankso@87 14
al@14644 15 DEPENDS="xorg-libXfixes"
al@14644 16 BUILD_DEPENDS="xorg-damageproto xorg-libXfixes-dev"
al@14644 17
Hans-G?nter@22211 18 HOST_ARCH="i486 arm"
Hans-G?nter@22211 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@22211 29 ./configure \
Hans-G?nter@22211 30 --sysconfdir=/etc \
Hans-G?nter@22211 31 --localstatedir=/var \
Hans-G?nter@22211 32 --disable-static \
al@14644 33 $CONFIGURE_ARGS &&
al@14644 34 make &&
al@14644 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@14644 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@87 43 }