wok annotate exo/receipt @ rev 24945

fix BootProg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 22 16:00:56 2022 +0000 (2022-04-22)
parents 17091bc7c301
children bd7510903310
rev   line source
erjo@5219 1 # SliTaz package receipt.
erjo@5219 2
erjo@5219 3 PACKAGE="exo"
erkan@22421 4 VERSION="0.10.3"
erjo@5219 5 CATEGORY="meta"
erjo@5219 6 SHORT_DESC="Xfce Exo library and tools"
erjo@5219 7 MAINTAINER="erjo@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
erjo@5219 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20671 10 WEB_SITE="https://www.xfce.org"
erjo@14815 11 WGET_URL="http://archive.xfce.org/xfce/4.10/src/$TARBALL"
slaxemulator@8986 12 COOK_OPT="!fs"
erjo@5219 13
pankso@12542 14 DEPENDS="exo-tools libexo util-linux-uuid libgio"
pankso@12542 15 BUILD_DEPENDS="libxfce4util-dev perl-uri startup-notification-dev intltool \
pascal@19744 16 util-linux-uuid-dev libgio-dev glib-dev gtk+-dev libxfce4ui-dev libxml2-dev \
pascal@19744 17 xcb-util-dev"
pankso@12542 18
pascal@24415 19 # What is the latest version available today?
pascal@24415 20 current_version()
pascal@24415 21 {
pascal@24453 22 wget -O - https://archive.xfce.org/src/xfce/exo/$( \
pascal@24453 23 wget -O - https://archive.xfce.org/src/xfce/exo/ 2>/dev/null | \
pascal@24453 24 sed '/href="[0-4]/!d;s|.*">||;s|/<.*|/|' | sort -Vr | sed q) 2>/dev/null | \
pascal@24415 25 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 26 }
pascal@24415 27
erjo@5219 28 # Rules to configure and make the package.
erjo@5219 29 compile_rules()
erjo@5219 30 {
slaxemulator@8986 31 patch -p1 -i $stuff/helpers.rc.u
pascal@22172 32 export LDFLAGS="$LDFLAGS -lxcb-util"
erjo@5219 33 ./configure \
erjo@5219 34 --prefix=/usr \
erjo@5219 35 --sysconfdir=/etc \
erjo@5219 36 --libexecdir=/usr/lib/libexo \
erjo@5219 37 --disable-debug \
erjo@5219 38 --mandir=/usr/share/man \
erjo@5219 39 --disable-python \
erjo@5219 40 $CONFIGURE_ARGS && \
pankso@12542 41 make && make install
erjo@5219 42 }
erjo@5219 43
erjo@5219 44 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@5219 45 genpkg_rules()
erjo@5219 46 {
erjo@5219 47 mkdir $fs/usr
erjo@5219 48 }