wok annotate xorg-libXScrnSaver/receipt @ rev 25276
updated reiser4progs and reiser4progs-dev (2.0.0 -> 2.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 14:19:27 2022 +0100 (2022-07-18) |
parents | b08bcbd8a085 |
children |
rev | line source |
---|---|
al@14637 | 1 # SliTaz package receipt. |
al@14637 | 2 |
al@14637 | 3 PACKAGE="xorg-libXScrnSaver" |
Hans-G?nter@22205 | 4 VERSION="1.2.3" |
al@14637 | 5 CATEGORY="x-window" |
Hans-G?nter@22205 | 6 SHORT_DESC="The XScrnSaver Library." |
al@14637 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14637 | 8 LICENSE="other" |
Hans-G?nter@22205 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22205 | 10 |
slaxemulator@14639 | 11 SOURCE="libXScrnSaver" |
slaxemulator@14639 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
al@14637 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
al@14637 | 14 |
al@14637 | 15 DEPENDS="xorg-libXext" |
al@14637 | 16 BUILD_DEPENDS="xorg-libXext-dev xorg-scrnsaverproto" |
al@14637 | 17 |
pascal@24072 | 18 current_version() |
pascal@24072 | 19 { |
pascal@24072 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 21 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 22 } |
pascal@24072 | 23 |
al@14637 | 24 # Rules to configure and make the package. |
al@14637 | 25 compile_rules() |
al@14637 | 26 { |
Hans-G?nter@22205 | 27 ./configure \ |
Hans-G?nter@22205 | 28 --sysconfdir=/etc \ |
Hans-G?nter@22205 | 29 --localstatedir=/var \ |
Hans-G?nter@22205 | 30 --disable-static \ |
al@14637 | 31 $CONFIGURE_ARGS && |
al@14637 | 32 make && |
al@14637 | 33 make install |
al@14637 | 34 } |
al@14637 | 35 |
al@14637 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14637 | 37 genpkg_rules() |
al@14637 | 38 { |
al@14637 | 39 mkdir -p $fs/usr/lib |
al@14637 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@14637 | 41 } |