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