wok view xfce4-appfinder/receipt @ rev 24972

Up lzsa (1.3.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 01 08:42:44 2022 +0000 (2022-05-01)
parents 17091bc7c301
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-appfinder"
4 VERSION="4.12.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Application Finder"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.xfce.org"
11 WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ garcon libxfce4ui xfconf thunar gamin dbus-glib startup-notification \
14 garcon util-linux-uuid"
15 BUILD_DEPENDS="intltool libxfce4util-dev libxfce4ui-dev garcon-dev xfconf-dev \
16 startup-notification-dev dbus-glib-dev util-linux-uuid-dev xcb-util-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
22 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
30 ./configure --prefix=/usr \
31 --disable-static \
32 --disable-debug $CONFIGURE_ARGS &&
33 make && make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/locale
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/applications $fs/usr/share
42 }