wok annotate gtk-xfce-engine/receipt @ rev 24842
updated libunistring and libunistring-dev (0.9.10 -> 1.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 09:45:42 2022 +0100 (2022-03-25) |
parents | 7beb79490249 |
children |
rev | line source |
---|---|
erjo@4138 | 1 # SliTaz package receipt. |
erjo@4138 | 2 |
erjo@4138 | 3 PACKAGE="gtk-xfce-engine" |
Hans-G?nter@22903 | 4 VERSION="3.2.0" |
al@19126 | 5 CATEGORY="customization" |
Hans-G?nter@22903 | 6 SHORT_DESC="GTK engine for Xfce." |
erjo@4138 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15589 | 8 LICENSE="GPL2" |
Hans-G?nter@22903 | 9 WEB_SITE="https://www.xfce.org/" |
Hans-G?nter@22903 | 10 |
erjo@4138 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@22904 | 12 WGET_URL="https://archive.xfce.org/src/archive/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@4138 | 13 |
pascal@15589 | 14 DEPENDS="gtk+" |
pascal@15589 | 15 BUILD_DEPENDS="gtk+-dev libffi" |
pascal@15589 | 16 |
pascal@24415 | 17 # What is the latest version available today? |
pascal@24415 | 18 current_version() |
pascal@24415 | 19 { |
pascal@24415 | 20 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ |
pascal@24415 | 21 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ |
pascal@24415 | 22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 23 } |
pascal@24415 | 24 |
erjo@4138 | 25 # Rules to configure and make the package. |
erjo@4138 | 26 compile_rules() |
erjo@4138 | 27 { |
Hans-G?nter@22903 | 28 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@22903 | 29 make && |
Hans-G?nter@22903 | 30 make install |
erjo@4138 | 31 } |
erjo@4138 | 32 |
erjo@4138 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4138 | 34 genpkg_rules() |
erjo@4138 | 35 { |
erjo@4138 | 36 mkdir -p $fs/usr |
al@19126 | 37 |
Hans-G?nter@22903 | 38 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@22903 | 39 cp -a $install/usr/share $fs/usr |
al@19126 | 40 |
erjo@4138 | 41 find $fs/usr/lib -name "*.la" -exec rm -f {} \; |
erjo@4138 | 42 } |