wok view garcon/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (8 months ago) |
parents | 17091bc7c301 |
children | fceea4b4808a |
line source
1 # SliTaz package receipt.
3 PACKAGE="garcon"
4 VERSION="0.4.0"
5 CATEGORY="misc"
6 SHORT_DESC="Xfce menu library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.xfce.org"
11 WGET_URL="https://archive.xfce.org/src/xfce/garcon/${VERSION%.*}/$TARBALL"
13 DEPENDS="libgio glib gtk+ libxfce4ui libxfce4util util-linux-uuid startup-notification"
14 BUILD_DEPENDS="intltool libgio libgio-dev glib-dev libxfce4ui-dev libxfce4util-dev \
15 util-linux-uuid-dev gtk+-dev startup-notification-dev xcb-util-dev"
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 cd $src
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --sysconfdir=/etc \
33 --disable-login \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 make && make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr \
43 $fs/usr/share \
44 $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/etc $fs/
48 cp -a $install/usr/share/desktop* $fs/usr/share
49 }