wok rev 24970

created recipe for midori-lang
author Hans-G?nter Theisgen
date Tue Apr 26 14:49:30 2022 +0100 (2022-04-26)
parents b030d71a6ddf
children e97ec007801c
files midori-lang/receipt midori/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/midori-lang/receipt	Tue Apr 26 14:49:30 2022 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="midori-lang"
     1.7 +VERSION="0.5.2"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="Lightweight web browser based on GTK+/WebKit - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="LGPL2.1"
    1.12 +WEB_SITE="http://twotoasts.de/index.php/midori/"
    1.13 +
    1.14 +WANTED="midori"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	cook_copy_folders	locale
    1.20 +}
     2.1 --- a/midori/receipt	Tue Apr 26 13:34:22 2022 +0100
     2.2 +++ b/midori/receipt	Tue Apr 26 14:49:30 2022 +0100
     2.3 @@ -3,21 +3,20 @@
     2.4  PACKAGE="midori"
     2.5  VERSION="0.5.2"
     2.6  CATEGORY="network"
     2.7 +TAGS="web-browser"
     2.8  SHORT_DESC="Lightweight web browser based on GTK+/WebKit"
     2.9  MAINTAINER="pankso@slitaz.org"
    2.10  LICENSE="LGPL2.1"
    2.11 +WEB_SITE="http://twotoasts.de/index.php/midori/"
    2.12 +
    2.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14 -#TARBALL="${PACKAGE}_${VERSION}_all_.tar.bz2"
    2.15 -WEB_SITE="http://twotoasts.de/index.php/midori/"
    2.16 -#WGET_URL="http://midori-browser.org/downloads/$TARBALL"
    2.17  WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
    2.18 -TAGS="web-browser"
    2.19 -#HOST_ARCH="i486 arm"
    2.20  
    2.21  GENERIC_MENUS="no"
    2.22 -DEPENDS="libnotify libunique libsoup libwebkit xorg-libXss libxslt"
    2.23 -BUILD_DEPENDS="glib-dev libnotify-dev gtk+-dev xorg-libXss-dev \
    2.24 -libwebkit-dev libunique-dev libsoup-dev libxslt-dev"
    2.25 +SUGGESTED="midori-lang"
    2.26 +DEPENDS="libnotify libunique libsoup libwebkit libxslt xorg-libXss"
    2.27 +BUILD_DEPENDS="glib-dev gtk+-dev libnotify-dev libsoup-dev libunique-dev
    2.28 +	libwebkit-dev libxslt-dev xorg-libXss-dev"
    2.29  
    2.30  # Handle cross compilation
    2.31  case "$ARCH" in
    2.32 @@ -53,28 +52,29 @@
    2.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.34  genpkg_rules()
    2.35  {
    2.36 -	mkdir -p \
    2.37 -		$fs/usr/share/doc/midori \
    2.38 -		$fs/usr/share/pixmaps
    2.39 +	mkdir -p $fs/usr/share/doc/midori
    2.40 +	mkdir -p $fs/usr/share/pixmaps
    2.41  
    2.42 -	cp -a $install/etc $fs
    2.43 -	cp $stuff/config $fs/etc/xdg/midori
    2.44 +	cp -a $install/etc	$fs
    2.45 +	cp $stuff/config	$fs/etc/xdg/midori
    2.46  	# add SliTaz token to DDG, add Twitter search
    2.47 -	cd $fs; patch -p1 < $stuff/search.patch; status
    2.48 +	cd $fs
    2.49 +	patch -p1 < $stuff/search.patch
    2.50 +	status
    2.51  
    2.52  	# Midori use sqlite to store bookmarks
    2.53  	#cp $stuff/bookmarks.xbel $fs/etc/xdg/midori
    2.54  
    2.55 -	cp -a $install/usr/bin $fs/usr
    2.56 -	cp -a $install/usr/lib $fs/usr
    2.57 +	cp -a $install/usr/bin	$fs/usr
    2.58 +	cp -a $install/usr/lib	$fs/usr
    2.59  
    2.60  	# desktop files
    2.61  	cp -a $install/usr/share/applications $fs/usr/share
    2.62  
    2.63  	cp -a $install/usr/share/doc/midori/faq* $fs/usr/share/doc/midori
    2.64 -	cp -a $install/usr/share/midori $fs/usr/share
    2.65 +	cp -a $install/usr/share/midori		$fs/usr/share
    2.66  
    2.67  	# Icons
    2.68 -	cp -a $install/usr/share/icons $fs/usr/share
    2.69 -	rm -rf $fs/usr/share/icons/hicolor/scalable
    2.70 +	cp -a $install/usr/share/icons		$fs/usr/share
    2.71 +	rm -rf					$fs/usr/share/icons/hicolor/scalable
    2.72  }