wok-current view gtk2-engine-murrine/receipt @ rev 24491

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 18 22:59:06 2022 +0000 (2022-02-18)
parents a78610b2eb47
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk2-engine-murrine"
4 VERSION="0.98.2"
5 CATEGORY="customization"
6 SHORT_DESC="GTK2 engine to make your desktop look like a murrina"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="LGPL3"
9 #WEB_SITE="http://www.cimitan.com/murrine"
10 WEB_SITE="https://ubuntuforums.org/showthread.php?t=239378"
11 TARBALL="murrine-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/murrine/${VERSION%.*}/$TARBALL"
13 TAGS="gtk2"
15 DEPENDS="gtk+"
16 BUILD_DEPENDS="gtk+-dev libxml2-dev"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed '/murrine-[0-9]/!d;/tar/!d;s|.*murrine-\(.*\).tar.*".*|\1|' | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --disable-static \
29 --enable-animation \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/share $fs/usr
41 find $fs -name '*.la' -delete
42 }