wok-current annotate xorg-libXss/receipt @ rev 25653
lzo needed from fsarchiver
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 13 07:22:29 2024 +0100 (6 months ago) |
parents | 5d79829fa876 |
children |
rev | line source |
---|---|
pascal@435 | 1 # SliTaz package receipt. |
pascal@435 | 2 |
pascal@435 | 3 PACKAGE="xorg-libXss" |
Hans-G?nter@22226 | 4 VERSION="1.2.3" |
pascal@435 | 5 CATEGORY="x-window" |
pascal@435 | 6 SHORT_DESC="Xorg screen saver module." |
pascal@435 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
Hans-G?nter@22226 | 9 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22226 | 10 |
pascal@435 | 11 SOURCE="libXScrnSaver" |
gokhlayeh@6993 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@435 | 13 WGET_URL="$XORG_MIRROR/lib/$TARBALL" |
pascal@435 | 14 |
pascal@15579 | 15 DEPENDS="xorg-libXext" |
shann@25590 | 16 BUILD_DEPENDS="xorg-libXext-dev xorg-scrnsaverproto" |
pascal@15579 | 17 |
Hans-G?nter@22226 | 18 HOST_ARCH="i486 arm" |
Hans-G?nter@22226 | 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 |
pascal@435 | 26 # Rules to configure and make the package. |
pascal@435 | 27 compile_rules() |
pascal@435 | 28 { |
Hans-G?nter@22226 | 29 ./configure \ |
Hans-G?nter@22226 | 30 --prefix=/usr \ |
Hans-G?nter@22226 | 31 --sysconfdir=/etc \ |
Hans-G?nter@22226 | 32 --mandir=/usr/share/man \ |
Hans-G?nter@22226 | 33 --localstatedir=/var \ |
Hans-G?nter@22226 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@22226 | 35 make && |
Hans-G?nter@22226 | 36 make DESTDIR=$DESTDIR install |
pascal@435 | 37 } |
pascal@435 | 38 |
pascal@435 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@435 | 40 genpkg_rules() |
pascal@435 | 41 { |
Hans-G?nter@22226 | 42 mkdir -p $fs/usr/lib |
Hans-G?nter@22226 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@435 | 44 } |