wok annotate xorg-libXxf86vm/receipt @ rev 24624
updated grep (3.4 -> 3.7)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 16:56:05 2022 +0100 (2022-03-07) |
parents | 7012cde8901f |
children |
rev | line source |
---|---|
pankso@3013 | 1 # SliTaz package receipt. |
pankso@3013 | 2 |
domcox@14536 | 3 PACKAGE="xorg-libXxf86vm" |
Hans-G?nter@22233 | 4 VERSION="1.1.4" |
pankso@3013 | 5 CATEGORY="x-window" |
pankso@3013 | 6 SHORT_DESC="Xorg server module." |
pankso@3013 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22233 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22233 | 10 |
pankso@3013 | 11 SOURCE="libXxf86vm" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@12519 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pankso@12519 | 14 |
pankso@16021 | 15 DEPENDS="xorg-libX11 xorg-libXext" |
pankso@16021 | 16 BUILD_DEPENDS="xorg-libX11-dev xorg-libXext-dev xorg-xf86vidmodeproto" |
pankso@3013 | 17 |
Hans-G?nter@22233 | 18 HOST_ARCH="i486 arm" |
Hans-G?nter@22233 | 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@3013 | 26 # Rules to configure and make the package. |
pankso@3013 | 27 compile_rules() |
pankso@3013 | 28 { |
Hans-G?nter@22233 | 29 ./configure \ |
Hans-G?nter@22233 | 30 --sysconfdir=/etc \ |
Hans-G?nter@22233 | 31 --mandir=/usr/share/man \ |
Hans-G?nter@22233 | 32 --localstatedir=/var \ |
pankso@3013 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@22233 | 34 make && |
Hans-G?nter@22233 | 35 make install |
pankso@3013 | 36 } |
pankso@3013 | 37 |
pankso@3013 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3013 | 39 genpkg_rules() |
pankso@3013 | 40 { |
pankso@3013 | 41 mkdir -p $fs/usr/lib |
pascal@14567 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@3013 | 43 } |