wok-6.x view exo/receipt @ rev 24823

updated libsdl2 and libsdl2-dev (2.0.12 -> 2.0.20)
author Hans-G?nter Theisgen
date Wed Mar 23 16:41:04 2022 +0100 (2022-03-23)
parents 17091bc7c301
children bd7510903310
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="http://archive.xfce.org/xfce/4.10/src/$TARBALL"
12 COOK_OPT="!fs"
14 DEPENDS="exo-tools libexo util-linux-uuid libgio"
15 BUILD_DEPENDS="libxfce4util-dev perl-uri startup-notification-dev intltool \
16 util-linux-uuid-dev libgio-dev glib-dev gtk+-dev libxfce4ui-dev libxml2-dev \
17 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"
33 ./configure \
34 --prefix=/usr \
35 --sysconfdir=/etc \
36 --libexecdir=/usr/lib/libexo \
37 --disable-debug \
38 --mandir=/usr/share/man \
39 --disable-python \
40 $CONFIGURE_ARGS && \
41 make && make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir $fs/usr
48 }