wok view gtk-xfce-engine/receipt @ rev 25547
Up utftpd (0.2.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 23 12:22:34 2023 +0000 (19 months ago) |
parents | 7beb79490249 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-xfce-engine"
4 VERSION="3.2.0"
5 CATEGORY="customization"
6 SHORT_DESC="GTK engine for Xfce."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.xfce.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://archive.xfce.org/src/archive/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="gtk+-dev libffi"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
21 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/share $fs/usr
41 find $fs/usr/lib -name "*.la" -exec rm -f {} \;
42 }