wok rev 25795

created recipe for libxfcegui4-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:34:18 2024 +0100 (4 weeks ago)
parents d831eaab074c
children d953db83781d
files libxfcegui4-dev/receipt libxfcegui4-lang/receipt libxfcegui4/receipt
line diff
     1.1 --- a/libxfcegui4-dev/receipt	Wed Oct 23 16:19:52 2024 +0100
     1.2 +++ b/libxfcegui4-dev/receipt	Wed Oct 23 16:34:18 2024 +0100
     1.3 @@ -3,22 +3,16 @@
     1.4  PACKAGE="libxfcegui4-dev"
     1.5  VERSION="4.10.0"
     1.6  CATEGORY="development"
     1.7 -SHORT_DESC="Xfce Gtk Widget library dev files"
     1.8 +SHORT_DESC="Xfce Gtk Widget library - development files."
     1.9  MAINTAINER="erjo@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11 -WANTED="libxfcegui4"
    1.12  WEB_SITE="https://www.xfce.org"
    1.13  
    1.14 -DEPENDS="gtk+ libxfcegui4 libxfce4util-dev pkg-config"
    1.15 +DEPENDS="gtk+ libxfce4util-dev libxfcegui4 pkg-config"
    1.16 +WANTED="libxfcegui4"
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21 -	mkdir -p $fs/usr/lib \
    1.22 -		$fs/usr
    1.23 -		
    1.24 -	cp -a $install/usr/include $fs/usr
    1.25 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.26 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.27 +	get_dev_files
    1.28  }
    1.29 -
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libxfcegui4-lang/receipt	Wed Oct 23 16:34:18 2024 +0100
     2.3 @@ -0,0 +1,17 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libxfcegui4-lang"
     2.7 +VERSION="4.10.0"
     2.8 +CATEGORY="localization"
     2.9 +SHORT_DESC="Xfce Gtk Widget library - localised messages."
    2.10 +MAINTAINER="maintainer@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="https://www.xfce.org"
    2.13 +
    2.14 +WANTED="libxfcegui4"
    2.15 +
    2.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.17 +genpkg_rules()
    2.18 +{
    2.19 +	cook_copy_folders	locale
    2.20 +}
     3.1 --- a/libxfcegui4/receipt	Wed Oct 23 16:19:52 2024 +0100
     3.2 +++ b/libxfcegui4/receipt	Wed Oct 23 16:34:18 2024 +0100
     3.3 @@ -3,16 +3,18 @@
     3.4  PACKAGE="libxfcegui4"
     3.5  VERSION="4.10.0"
     3.6  CATEGORY="x-window"
     3.7 -SHORT_DESC="Xfce Gtk Widget library"
     3.8 +SHORT_DESC="Xfce Gtk Widget library."
     3.9  MAINTAINER="erjo@slitaz.org"
    3.10  LICENSE="GPL2"
    3.11 +WEB_SITE="https://www.xfce.org"
    3.12 +
    3.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.14 -WEB_SITE="https://www.xfce.org"
    3.15  WGET_URL="https://archive.xfce.org/src/archive/$PACKAGE/${VERSION%.*}/$TARBALL"
    3.16  
    3.17 -DEPENDS="gtk+ libxfce4util xfconf startup-notification dbus-glib libglade"
    3.18 -BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev 
    3.19 - libglade-dev xcb-util-dev intltool util-linux-uuid-dev"
    3.20 +SUGGESTED="libxfcegui4-lang"
    3.21 +DEPENDS="dbus-glib gtk+ libglade libxfce4util startup-notification xfconf"
    3.22 +BUILD_DEPENDS="gtk+-dev intltool libglade-dev libxfce4util-dev
    3.23 +	startup-notification-dev util-linux-uuid-dev xcb-util-dev xfconf-dev"
    3.24  
    3.25  # What is the latest version available today?
    3.26  current_version()
    3.27 @@ -24,33 +26,26 @@
    3.28  # Rules to configure and make the package.
    3.29  compile_rules()
    3.30  {
    3.31 -	cd $src
    3.32  	# xfce_setenv is removed in libxfce4util 4.11.0
    3.33  	sed -i 's/xfce_setenv/g_setenv/' libxfcegui4/xfce-exec.c
    3.34 -	./configure --prefix=/usr \
    3.35 -		--infodir=/usr/share/info \
    3.36 -		--mandir=/usr/share/man \
    3.37 -		--disable-static \
    3.38 -		--disable-debug \
    3.39 +
    3.40 +	./configure				\
    3.41 +		--prefix=/usr			\
    3.42 +		--infodir=/usr/share/info	\
    3.43 +		--mandir=/usr/share/man		\
    3.44 +		--disable-debug			\
    3.45 +		--disable-static		\
    3.46  		$CONFIGURE_ARGS &&
    3.47  	make &&
    3.48 -	make DESTDIR=$DESTDIR install
    3.49 +	make install
    3.50  }
    3.51  
    3.52  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.53  genpkg_rules()
    3.54  {
    3.55 -	 
    3.56 -	mkdir -p $fs/usr/lib \
    3.57 -		$fs/usr/share/locale
    3.58 -		
    3.59 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.60 -	cp -a $install/usr/lib/libglade $fs/usr/lib
    3.61 -	cp -a $install/usr/share/locale/fr $fs/usr/share/locale
    3.62 -	cp -a $install/usr/share/icons $fs/usr/share
    3.63 -	
    3.64 +	cook_copy_files		*.so*
    3.65 +	cook_copy_folders	icons
    3.66 +
    3.67  	# Remove SVG icons
    3.68 -	rm -rf $fs/usr/share/icons/hicolor/scalable
    3.69 -	
    3.70 +	rm -rf		$fs/usr/share/icons/hicolor/scalable
    3.71  }
    3.72 -