wok view exo/receipt @ rev 25624

Add opendkim
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 16:45:57 2023 +0000 (12 months ago)
parents 1f9238437d3b
children d831eaab074c
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 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 }