wok-6.x annotate xfdesktop/receipt @ rev 24554
updated flac and flac-dev again (1.3.3 -> 1.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 11:25:23 2022 +0100 (2022-02-25) |
parents | cfb29dc98daa |
children | bd7510903310 |
rev | line source |
---|---|
erjo@2075 | 1 # SliTaz package receipt. |
erjo@2075 | 2 |
erjo@2075 | 3 PACKAGE="xfdesktop" |
erkan@22421 | 4 VERSION="4.12.0" |
erjo@2075 | 5 CATEGORY="x-window" |
erjo@4133 | 6 SHORT_DESC="Xfce Desktop" |
erjo@2075 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14838 | 8 LICENSE="GPL2" |
erjo@2075 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20669 | 10 WEB_SITE="https://www.xfce.org/" |
slaxemulator@8289 | 11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@2075 | 12 |
erjo@9878 | 13 DEPENDS="libxfce4util libxfcegui4 thunar libexo libglade gamin libnotify" |
erjo@14830 | 14 BUILD_DEPENDS="libxfce4util-dev thunar-dev libexo-dev libwnck-dev \ |
pascal@12613 | 15 xfconf-dev libglade-dev gamin-dev hal-dev xfce4-panel-dev libnotify-dev intltool \ |
pascal@19752 | 16 util-linux-uuid-dev dbus-glib libxfce4ui-dev xcb-util-dev" |
erjo@9878 | 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@2075 | 26 # Rules to configure and make the package. |
erjo@2075 | 27 compile_rules() |
erjo@2075 | 28 { |
erjo@2075 | 29 cd $src |
erjo@2075 | 30 ./configure --prefix=/usr \ |
erjo@2075 | 31 --sysconfdir=/etc \ |
erjo@8028 | 32 --enable-notifications \ |
erjo@8028 | 33 --enable-gio-unix \ |
erjo@2075 | 34 --enable-thunarx \ |
erjo@4133 | 35 --disable-static \ |
pascal@4235 | 36 --libexecdir=/usr/lib/$PACKAGE \ |
erjo@2075 | 37 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
erjo@9878 | 38 make && make DESTDIR=$DESTDIR install |
erjo@2075 | 39 } |
erjo@2075 | 40 |
erjo@2075 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2075 | 42 genpkg_rules() |
erjo@2075 | 43 { |
pascal@4235 | 44 mkdir -p $fs/usr/lib \ |
erjo@2075 | 45 $fs/usr/share/locale \ |
erjo@4133 | 46 $fs/usr/share/xfce4 |
erjo@4133 | 47 |
pascal@14838 | 48 cp -a $install/usr/bin $fs/usr |
pascal@14838 | 49 #~ cp -a $install/etc $fs/ |
pascal@14838 | 50 #~ cp -a $install/usr/lib/$PACKAGE $fs/usr/lib |
pascal@14838 | 51 #~ cp -a $install/usr/lib $fs/usr |
pascal@14838 | 52 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
pascal@14838 | 53 cp -a $install/usr/share/applications $fs/usr/share |
pascal@14838 | 54 #~ cp -a $install/usr/share/desktop-directories $fs/usr/share |
pascal@14838 | 55 #~ cp -a $install/usr/share/xfce4/panel-plugins $fs/usr/share/xfce4 |
erjo@2075 | 56 |
erjo@8028 | 57 #~ strip -s $fs/usr/lib/$PACKAGE/xfce4/panel-plugins/* |
erjo@4133 | 58 |
erjo@2075 | 59 } |
erjo@2075 | 60 |