wok annotate libxfce4ui/receipt @ rev 25096
created recipe for wordgrinder
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 15:13:12 2022 +0100 (2022-06-18) |
parents | 17091bc7c301 |
children | a753bd482ec9 |
rev | line source |
---|---|
erjo@8015 | 1 # SliTaz package receipt. |
erjo@8015 | 2 |
erjo@8015 | 3 PACKAGE="libxfce4ui" |
erkan@22419 | 4 VERSION="4.12.0" |
erjo@8015 | 5 CATEGORY="x-window" |
erjo@8015 | 6 SHORT_DESC="Xfce Gtk Widget library" |
erjo@8015 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
erjo@8015 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20671 | 10 WEB_SITE="https://www.xfce.org" |
pascal@24972 | 11 WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@8015 | 12 |
al@14130 | 13 DEPENDS="gtk+ libxfce4util libxfconf startup-notification dbus-glib libglade \ |
pankso@12481 | 14 util-linux-uuid" |
al@14130 | 15 BUILD_DEPENDS="gtk+-dev libxfce4util-dev libxfconf-dev \ |
al@14130 | 16 startup-notification-dev libglade-dev xcb-util-dev util-linux-uuid-dev intltool" |
erjo@8015 | 17 |
pascal@24415 | 18 # What is the latest version available today? |
pascal@24415 | 19 current_version() |
pascal@24415 | 20 { |
pascal@24415 | 21 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \ |
pascal@24415 | 22 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 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@8015 | 26 # Rules to configure and make the package. |
erjo@8015 | 27 compile_rules() |
erjo@8015 | 28 { |
al@14130 | 29 ./configure \ |
erjo@8015 | 30 --sysconfdir=/etc \ |
al@14130 | 31 --disable-debug \ |
al@14130 | 32 $CONFIGURE_ARGS && |
erjo@8015 | 33 make && |
al@14130 | 34 make DESTDIR=$install install |
erjo@8015 | 35 } |
erjo@8015 | 36 |
erjo@8015 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@8015 | 38 genpkg_rules() |
erjo@8015 | 39 { |
al@14130 | 40 mkdir -p $fs/usr/lib |
al@14130 | 41 cp -a $install/etc $fs/ |
al@14130 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@8015 | 43 } |
erjo@8015 | 44 |