wok annotate xorg-libXcursor/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 1ad9d8763c92
children
rev   line source
pankso@20 1 # SliTaz package receipt.
pankso@20 2
pankso@20 3 PACKAGE="xorg-libXcursor"
Hans-G?nter@22210 4 VERSION="1.2.0"
pankso@20 5 CATEGORY="x-window"
Hans-G?nter@22210 6 SHORT_DESC="X Cursor Library."
pankso@20 7 MAINTAINER="pankso@slitaz.org"
al@14644 8 LICENSE="other"
Hans-G?nter@22210 9 WEB_SITE="https://www.x.org/wiki/"
Hans-G?nter@22210 10
pankso@20 11 SOURCE="libXcursor"
gokhlayeh@6993 12 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@14571 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL"
pascal@14571 14
al@14644 15 DEPENDS="xorg-libXfixes xorg-libXrender"
Hans-G?nter@22210 16 BUILD_DEPENDS="xorg-libXfixes-dev xorg-libXrender-dev"
Hans-G?nter@22210 17
Hans-G?nter@22210 18 HOST_ARCH="i486 arm"
pankso@20 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@20 26 # Rules to configure and make the package.
pankso@20 27 compile_rules()
pankso@20 28 {
Hans-G?nter@22210 29 ./configure \
Hans-G?nter@22210 30 --sysconfdir=/etc \
Hans-G?nter@22210 31 --localstatedir=/var \
Hans-G?nter@22210 32 --disable-static \
pascal@14571 33 $CONFIGURE_ARGS &&
pascal@14571 34 make &&
al@14644 35 make install
pankso@20 36 }
pankso@20 37
pankso@20 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@20 39 genpkg_rules()
pankso@20 40 {
pankso@20 41 mkdir -p $fs/usr/lib
pascal@14571 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@20 43 }