wok-6.x annotate xorg-libXrandr/receipt @ rev 24483
updated discount and discount-dev (2.2.6 -> 2.2.7)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 15:05:42 2022 +0100 (2022-02-18) |
parents | 1e1be4c4e546 |
children |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-libXrandr" |
Hans-G?nter@22223 | 4 VERSION="1.5.2" |
pankso@20 | 5 CATEGORY="x-window" |
pankso@20 | 6 SHORT_DESC="Xorg server module." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22223 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22223 | 10 |
pankso@20 | 11 SOURCE="libXrandr" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@20 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@20 | 14 |
pascal@15579 | 15 DEPENDS="xorg-libXext xorg-libXrender" |
Hans-G?nter@22223 | 16 BUILD_DEPENDS="xorg-libXext-dev xorg-libXrender-dev xorg-randrproto " |
Hans-G?nter@22223 | 17 |
Hans-G?nter@22223 | 18 HOST_ARCH="i486 arm" |
pascal@15579 | 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@22223 | 29 ./configure \ |
Hans-G?nter@22223 | 30 --prefix=/usr \ |
Hans-G?nter@22223 | 31 --sysconfdir=/etc \ |
Hans-G?nter@22223 | 32 --localstatedir=/var \ |
pankso@16109 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@22223 | 34 make && |
Hans-G?nter@22223 | 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@14568 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@20 | 43 } |