wok annotate xfce-utils/receipt @ rev 25632
Up gtklife (5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 23 14:06:29 2023 +0000 (11 months ago) |
parents | bd7510903310 |
children |
rev | line source |
---|---|
erjo@2074 | 1 # SliTaz package receipt. |
erjo@2074 | 2 |
erjo@2074 | 3 PACKAGE="xfce-utils" |
devl547@16294 | 4 VERSION="4.8.3" |
erjo@2074 | 5 CATEGORY="x-window" |
erjo@2074 | 6 SHORT_DESC="Xfce utilities" |
erjo@2074 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
erjo@2074 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20671 | 10 WEB_SITE="https://www.xfce.org" |
pascal@25436 | 11 WGET_URL="https://archive.xfce.org/src/archive/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@2074 | 12 |
erjo@9869 | 13 DEPENDS="libxfce4util libxfce4ui startup-notification dbus-glib" |
erjo@9869 | 14 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev intltool startup-notification-dev \ |
pascal@19747 | 15 util-linux-uuid-dev dbus-glib-dev libxfcegui4-dev xcb-util-dev" |
erjo@9869 | 16 |
pascal@24713 | 17 # What is the latest version available today? |
pascal@24713 | 18 current_version() |
pascal@24713 | 19 { |
pascal@24713 | 20 wget -O - https://gitlab.xfce.org/xfce/libxfce4util/-/tags?sort=updated_desc 2>/dev/null | \ |
pascal@24713 | 21 sed '/item-title/!d;s|.*util-||;s|<.*||;q' |
pascal@24713 | 22 } |
pascal@24713 | 23 |
erjo@2074 | 24 # Rules to configure and make the package. |
erjo@2074 | 25 compile_rules() |
erjo@2074 | 26 { |
erjo@2074 | 27 ./configure --prefix=/usr \ |
erjo@2074 | 28 --sysconfdir=/etc \ |
erjo@2074 | 29 --enable-dbus \ |
erjo@2074 | 30 --disable-debug \ |
erjo@8020 | 31 --with-browser=browser \ |
erjo@4136 | 32 --with-terminal=xterm \ |
erjo@2074 | 33 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
erjo@9869 | 34 make && make DESTDIR=$DESTDIR install |
erjo@2074 | 35 } |
erjo@2074 | 36 |
erjo@2074 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2074 | 38 genpkg_rules() |
erjo@2074 | 39 { |
erjo@2074 | 40 mkdir -p $fs/usr $fs/usr/share/locale |
pascal@15002 | 41 cp -a $install/usr/bin $fs/usr |
pascal@15002 | 42 cp -a $install/etc $fs/ |
pascal@15002 | 43 cp -a $install/usr/share/icons $fs/usr/share |
pascal@15002 | 44 cp -a $install/usr/share/dbus* $fs/usr/share |
pascal@15002 | 45 cp -a $install/usr/share/icons $fs/usr/share |
pascal@15002 | 46 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
erjo@2074 | 47 |
erjo@4179 | 48 #Fix perms |
erjo@4179 | 49 chmod 755 $fs/usr/bin/* |
erjo@2074 | 50 } |