wok annotate xfconf/receipt @ rev 25332
updated strace (5.6 -> 5.18)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 23 14:59:58 2022 +0100 (2022-07-23) |
parents | 17091bc7c301 |
children | 86cc1fef29ef |
rev | line source |
---|---|
erjo@4142 | 1 # SliTaz package receipt. |
erjo@4142 | 2 |
erjo@4142 | 3 PACKAGE="xfconf" |
erkan@22421 | 4 VERSION="4.12.0" |
erjo@4142 | 5 CATEGORY="x-window" |
erjo@4142 | 6 SHORT_DESC="Xfce Copnfiguration Utility" |
erjo@4142 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@4142 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20671 | 10 WEB_SITE="https://www.xfce.org" |
pascal@24972 | 11 WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@4142 | 12 |
pascal@15000 | 13 DEPENDS="gtk+ libxfce4util dbus-glib" |
pascal@15000 | 14 BUILD_DEPENDS="gtk+-dev libxfce4util-dev dbus-dev dbus-glib-dev intltool" |
pascal@15000 | 15 |
pascal@24415 | 16 # What is the latest version available today? |
pascal@24415 | 17 current_version() |
pascal@24415 | 18 { |
pascal@24415 | 19 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ |
pascal@24415 | 20 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ |
pascal@24415 | 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 22 } |
pascal@24415 | 23 |
erjo@4142 | 24 # Rules to configure and make the package. |
erjo@4142 | 25 compile_rules() |
erjo@4142 | 26 { |
erjo@4142 | 27 cd $src |
erjo@4142 | 28 ./configure --prefix=/usr \ |
erjo@8025 | 29 --libexecdir=/usr/lib/$PACKAGE \ |
erjo@4142 | 30 --infodir=/usr/share/info \ |
erjo@8025 | 31 --disable-debug \ |
erjo@4142 | 32 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
erjo@14831 | 33 make && make install |
erjo@4142 | 34 } |
erjo@4142 | 35 |
erjo@8025 | 36 |
erjo@4142 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4142 | 38 genpkg_rules() |
erjo@4142 | 39 { |
erjo@4142 | 40 mkdir -p $fs/usr \ |
erjo@4142 | 41 $fs/usr/lib \ |
erjo@4142 | 42 $fs/usr/share/locale |
erjo@4142 | 43 |
erjo@4142 | 44 |
erjo@14831 | 45 cp -a $install/usr/bin $fs/usr |
erjo@14831 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@14831 | 47 cp -a $install/usr/lib/xfce4 $fs/usr/lib |
erjo@14831 | 48 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
erjo@14831 | 49 cp -a $install/usr/share/dbus-1 $fs/usr/share |
erjo@4142 | 50 |
erjo@8025 | 51 strip -s $fs/usr/lib/xfce4/$PACKAGE/* |
erjo@4142 | 52 } |