wok view exo/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (9 days ago)
parents 45673422e44e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="exo"
4 VERSION="0.10.3"
5 CATEGORY="meta"
6 SHORT_DESC="Xfce Exo library and tools"
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/exo/${VERSION%.*}/$TARBALL"
12 COOK_OPT="!fs"
14 DEPENDS="exo-tools libexo libgio util-linux-uuid"
15 BUILD_DEPENDS="glib-dev gtk+-dev intltool libgio-dev libxfce4ui-dev
16 libxfce4util-dev libxml2-dev perl-uri startup-notification-dev
17 util-linux-uuid-dev xcb-util-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://archive.xfce.org/src/xfce/exo/$( \
23 wget -O - https://archive.xfce.org/src/xfce/exo/ 2>/dev/null | \
24 sed '/href="[0-4]/!d;s|.*">||;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 patch -p1 -i $stuff/helpers.rc.u
32 export LDFLAGS="$LDFLAGS -lxcb-util"
34 # 0.10.3 unrecognised:
35 # --disable-python
36 ./configure \
37 --prefix=/usr \
38 --sysconfdir=/etc \
39 --libexecdir=/usr/lib/libexo \
40 --disable-debug \
41 --mandir=/usr/share/man \
42 $CONFIGURE_ARGS &&
43 make &&
44 make install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir $fs/usr
51 }