wok-6.x annotate xorg-libpciaccess/receipt @ rev 25120
updated pekwm (0.1.17 -> 0.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 26 10:18:40 2022 +0100 (2022-06-26) |
parents | 76efaaed0bc2 |
children |
rev | line source |
---|---|
pankso@3011 | 1 # SliTaz package receipt. |
pankso@3011 | 2 |
pankso@3011 | 3 PACKAGE="xorg-libpciaccess" |
Hans-G?nter@22236 | 4 VERSION="0.16" |
pankso@3011 | 5 CATEGORY="x-window" |
pankso@3011 | 6 SHORT_DESC="Xorg server module." |
pankso@3011 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22236 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22236 | 10 |
pankso@3011 | 11 SOURCE="libpciaccess" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
Hans-G?nter@22236 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
Hans-G?nter@22236 | 14 |
pankso@16021 | 15 HOST_ARCH="i486 arm" |
pankso@3011 | 16 |
pascal@24072 | 17 current_version() |
pascal@24072 | 18 { |
pascal@24072 | 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 20 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 21 } |
pascal@24072 | 22 |
pankso@3011 | 23 # Rules to configure and make the package. |
pankso@3011 | 24 compile_rules() |
pankso@3011 | 25 { |
Hans-G?nter@22236 | 26 ./configure \ |
Hans-G?nter@22236 | 27 --sysconfdir=/etc \ |
Hans-G?nter@22236 | 28 --mandir=/usr/share/man \ |
Hans-G?nter@22236 | 29 --localstatedir=/var \ |
pankso@3011 | 30 $CONFIGURE_ARGS |
Hans-G?nter@22236 | 31 make && |
Hans-G?nter@22236 | 32 make install |
pankso@3011 | 33 } |
pankso@3011 | 34 |
pankso@3011 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3011 | 36 genpkg_rules() |
pankso@3011 | 37 { |
pankso@3011 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@22236 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@3011 | 40 } |