wok view garcon/receipt @ rev 25797

created recipe for garcon-lang
author Hans-G?nter Theisgen
date Wed Oct 23 17:04:51 2024 +0100 (4 weeks ago)
parents bd7510903310
children
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 WEB_SITE="https://www.xfce.org"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://archive.xfce.org/src/xfce/garcon/${VERSION%.*}/$TARBALL"
14 DEPENDS="glib gtk+ libgio libxfce4ui libxfce4util startup-notification
15 util-linux-uuid"
16 BUILD_DEPENDS="glib-dev gtk+-dev intltool libgio-dev libxfce4ui-dev
17 libxfce4util-dev startup-notification-dev
18 util-linux-uuid-dev xcb-util-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
24 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
25 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --sysconfdir=/etc \
35 --disable-login \
36 --mandir=/usr/share/man \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cook_copy_folders etc
46 cook_copy_files *.so*
47 }