wok-current annotate libxfcegui4/receipt @ rev 24830
busybox-1.31.1: inserted CONFIG_FEATURE_SYSLOG_INFO=y in config and config-ssfs
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 24 06:49:50 2022 +0100 (2022-03-24) |
parents | 3706a219753a |
children | bd7510903310 |
rev | line source |
---|---|
erjo@2076 | 1 # SliTaz package receipt. |
erjo@2076 | 2 |
erjo@2076 | 3 PACKAGE="libxfcegui4" |
erkan@22420 | 4 VERSION="4.10.0" |
erjo@2076 | 5 CATEGORY="x-window" |
erjo@2076 | 6 SHORT_DESC="Xfce Gtk Widget library" |
erjo@2076 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14718 | 8 LICENSE="GPL2" |
pascal@14718 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20671 | 10 WEB_SITE="https://www.xfce.org" |
pascal@14718 | 11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@14718 | 12 |
pascal@5003 | 13 DEPENDS="gtk+ libxfce4util xfconf startup-notification dbus-glib libglade" |
erjo@5829 | 14 BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev |
pankso@12481 | 15 libglade-dev xcb-util-dev intltool util-linux-uuid-dev" |
erjo@2076 | 16 |
pascal@24540 | 17 # What is the latest version available today? |
pascal@24540 | 18 current_version() |
pascal@24540 | 19 { |
pascal@24540 | 20 wget -O - https://git.xfce.org/archive/libxfcegui4/ 2>/dev/null | \ |
pascal@24540 | 21 sed '/tag.?h=/!d;s|.*libxfcegui4-||;s|.tar.*||;q' |
pascal@24540 | 22 } |
pascal@24540 | 23 |
erjo@2076 | 24 # Rules to configure and make the package. |
erjo@2076 | 25 compile_rules() |
erjo@2076 | 26 { |
erjo@2076 | 27 cd $src |
pascal@16649 | 28 # xfce_setenv is removed in libxfce4util 4.11.0 |
pascal@16649 | 29 sed -i 's/xfce_setenv/g_setenv/' libxfcegui4/xfce-exec.c |
erjo@2076 | 30 ./configure --prefix=/usr \ |
erjo@2076 | 31 --infodir=/usr/share/info \ |
slaxemulator@8051 | 32 --mandir=/usr/share/man \ |
slaxemulator@8051 | 33 --disable-static \ |
slaxemulator@8051 | 34 --disable-debug \ |
slaxemulator@8051 | 35 $CONFIGURE_ARGS && |
pascal@5003 | 36 make && |
pascal@14718 | 37 make DESTDIR=$DESTDIR install |
erjo@2076 | 38 } |
erjo@2076 | 39 |
erjo@2076 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2076 | 41 genpkg_rules() |
erjo@2076 | 42 { |
erjo@2076 | 43 |
erjo@2076 | 44 mkdir -p $fs/usr/lib \ |
erjo@2076 | 45 $fs/usr/share/locale |
erjo@2076 | 46 |
pascal@14718 | 47 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14718 | 48 cp -a $install/usr/lib/libglade $fs/usr/lib |
pascal@14718 | 49 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
pascal@14718 | 50 cp -a $install/usr/share/icons $fs/usr/share |
erjo@2076 | 51 |
erjo@2076 | 52 # Remove SVG icons |
erjo@2076 | 53 rm -rf $fs/usr/share/icons/hicolor/scalable |
erjo@2076 | 54 |
erjo@2076 | 55 } |
erjo@2076 | 56 |