wok annotate garcon/receipt @ rev 24793

updated libgpg-error and libgpg-error-dev (1.37 -> 1.44)
author Hans-G?nter Theisgen
date Mon Mar 21 15:45:38 2022 +0100 (2022-03-21)
parents cfb29dc98daa
children bd7510903310
rev   line source
erjo@8014 1 # SliTaz package receipt.
erjo@8014 2
erjo@8014 3 PACKAGE="garcon"
erkan@22421 4 VERSION="0.4.0"
erjo@8014 5 CATEGORY="misc"
erjo@8014 6 SHORT_DESC="Xfce menu library"
erjo@8014 7 MAINTAINER="erjo@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
erjo@8014 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20671 10 WEB_SITE="https://www.xfce.org"
devl547@16295 11 WGET_URL="http://archive.xfce.org/src/xfce/garcon/${VERSION%.*}/$TARBALL"
erjo@8014 12
devl547@16295 13 DEPENDS="libgio glib gtk+ libxfce4ui libxfce4util util-linux-uuid startup-notification"
devl547@16295 14 BUILD_DEPENDS="intltool libgio libgio-dev glib-dev libxfce4ui-dev libxfce4util-dev \
pascal@19744 15 util-linux-uuid-dev gtk+-dev startup-notification-dev xcb-util-dev"
pascal@15004 16
pascal@24415 17 # What is the latest version available today?
pascal@24415 18 current_version()
pascal@24415 19 {
pascal@24415 20 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
pascal@24415 21 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
pascal@24415 22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 23 }
pascal@24415 24
erjo@8014 25 # Rules to configure and make the package.
erjo@8014 26 compile_rules()
erjo@8014 27 {
erjo@8014 28 cd $src
erjo@8014 29 ./configure \
erjo@8014 30 --prefix=/usr \
erjo@8014 31 --infodir=/usr/share/info \
erjo@8014 32 --sysconfdir=/etc \
erjo@8014 33 --disable-login \
erjo@8014 34 --mandir=/usr/share/man \
erjo@8014 35 $CONFIGURE_ARGS &&
pascal@13762 36 make && make DESTDIR=$DESTDIR install
erjo@8014 37 }
erjo@8014 38
erjo@8014 39 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@8014 40 genpkg_rules()
erjo@8014 41 {
erjo@8014 42 mkdir -p $fs/usr \
erjo@8014 43 $fs/usr/share \
erjo@8014 44 $fs/usr/lib
erjo@8014 45
pascal@13762 46 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13762 47 cp -a $install/etc $fs/
pascal@13762 48 cp -a $install/usr/share/desktop* $fs/usr/share
erjo@8014 49 }
erjo@8014 50