wok annotate xfce4-appfinder/receipt @ rev 25506
memtest, pack: cleanup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 09 16:28:01 2023 +0000 (21 months ago) |
parents | 17091bc7c301 |
children | d6ad5843ee50 |
rev | line source |
---|---|
erjo@2073 | 1 # SliTaz package receipt. |
erjo@2073 | 2 |
erjo@2073 | 3 PACKAGE="xfce4-appfinder" |
erkan@22419 | 4 VERSION="4.12.0" |
erjo@2073 | 5 CATEGORY="x-window" |
devl547@16296 | 6 SHORT_DESC="Xfce Application Finder" |
erjo@2073 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@2073 | 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@2073 | 12 |
erjo@9870 | 13 DEPENDS="gtk+ garcon libxfce4ui xfconf thunar gamin dbus-glib startup-notification \ |
pankso@12481 | 14 garcon util-linux-uuid" |
erjo@9870 | 15 BUILD_DEPENDS="intltool libxfce4util-dev libxfce4ui-dev garcon-dev xfconf-dev \ |
pascal@19749 | 16 startup-notification-dev dbus-glib-dev util-linux-uuid-dev xcb-util-dev" |
erjo@9870 | 17 |
pascal@24415 | 18 # What is the latest version available today? |
pascal@24415 | 19 current_version() |
pascal@24415 | 20 { |
pascal@24415 | 21 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ |
pascal@24415 | 22 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \ |
pascal@24415 | 23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 24 } |
pascal@24415 | 25 |
erjo@2073 | 26 # Rules to configure and make the package. |
erjo@2073 | 27 compile_rules() |
erjo@2073 | 28 { |
erjo@2073 | 29 cd $src |
erjo@9870 | 30 ./configure --prefix=/usr \ |
erjo@9870 | 31 --disable-static \ |
erjo@9870 | 32 --disable-debug $CONFIGURE_ARGS && |
erjo@9870 | 33 make && make DESTDIR=$DESTDIR install |
erjo@2073 | 34 } |
erjo@2073 | 35 |
erjo@2073 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2073 | 37 genpkg_rules() |
erjo@2073 | 38 { |
erjo@2073 | 39 mkdir -p $fs/usr/share/locale |
pascal@15000 | 40 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 41 cp -a $install/usr/share/applications $fs/usr/share |
erjo@2073 | 42 } |
erjo@2073 | 43 |