wok diff keepassx/receipt @ rev 18253

Add some lang packages for tesseract-ocr (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 03 16:17:09 2015 +0200 (2015-08-03)
parents 7896f0694ef6
children a78610b2eb47
line diff
     1.1 --- a/keepassx/receipt	Sat Aug 10 21:12:16 2013 +0000
     1.2 +++ b/keepassx/receipt	Mon Aug 03 16:17:09 2015 +0200
     1.3 @@ -8,7 +8,7 @@
     1.4  LICENSE="GPL2"
     1.5  #SOURCE="KeePassX"
     1.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.7 -WEB_SITE="http://www.keepassx.org/" 
     1.8 +WEB_SITE="http://www.keepassx.org/"
     1.9  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.10  TAGS="password key"
    1.11  
    1.12 @@ -18,20 +18,23 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -   	cd $src/src
    1.17 +	cd $src/src
    1.18  	qmake PREFIX=/usr &&
    1.19  	make &&
    1.20  	make INSTALL_ROOT=$DESTDIR install
    1.21 -	
    1.22  }
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27 -   	mkdir -p $fs/usr/share/pixmaps
    1.28 +	mkdir -p \
    1.29 +		$fs/usr/share/keepassx \
    1.30 +		$fs/usr/share/licenses \
    1.31 +		$fs/usr/share/icons/hicolor/16x16/apps $fs/usr/share/icons/hicolor/48x48/apps
    1.32 +
    1.33  	cp -a $install/usr/bin $fs/usr
    1.34 -	#cp -a $install/usr/share/$PACKAGE $fs/usr/share	
    1.35 -	cp -a $install/usr/share $fs/usr	
    1.36 -	cp -a $install/usr/share/$PACKAGE/icons/keepassx.png $fs/usr/share/pixmaps		
    1.37 -	
    1.38 +	cp -a $install/usr/share/keepassx/icons $fs/usr/share/keepassx
    1.39 +	cp -a $install/usr/share/keepassx/license.html $fs/usr/share/licenses/$PACKAGE.html
    1.40 +	ln -s /usr/share/keepassx/icons/keepassx_small.png $fs/usr/share/icons/hicolor/16x16/apps/keepassx.png
    1.41 +	ln -s /usr/share/keepassx/icons/keepassx_large.png $fs/usr/share/icons/hicolor/48x48/apps/keepassx.png
    1.42  }