wok-6.x annotate exo/receipt @ rev 24415

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 10 18:04:02 2022 +0000 (2022-02-10)
parents cfb29dc98daa
children 241fb98cab1c
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@24415 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24415 23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 24 }
pascal@24415 25
erjo@5219 26 # Rules to configure and make the package.
erjo@5219 27 compile_rules()
erjo@5219 28 {
slaxemulator@8986 29 patch -p1 -i $stuff/helpers.rc.u
pascal@22172 30 export LDFLAGS="$LDFLAGS -lxcb-util"
erjo@5219 31 ./configure \
erjo@5219 32 --prefix=/usr \
erjo@5219 33 --sysconfdir=/etc \
erjo@5219 34 --libexecdir=/usr/lib/libexo \
erjo@5219 35 --disable-debug \
erjo@5219 36 --mandir=/usr/share/man \
erjo@5219 37 --disable-python \
erjo@5219 38 $CONFIGURE_ARGS && \
pankso@12542 39 make && make install
erjo@5219 40 }
erjo@5219 41
erjo@5219 42 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@5219 43 genpkg_rules()
erjo@5219 44 {
erjo@5219 45 mkdir $fs/usr
erjo@5219 46 }