wok-current rev 17122

Add djview ; Add qlipper
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Sep 06 13:29:11 2014 +0200 (2014-09-06)
parents 48edf2c4d86a
children 77c872ed3f55
files djview/receipt qlipper/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/djview/receipt	Sat Sep 06 13:29:11 2014 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="djview"
     1.7 +VERSION="4.9"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="Djvu files viewer."
    1.10 +MAINTAINER="psychomaniak@xakep.ru"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://djvu.sourceforge.net/"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WGET_URL="$SF_MIRROR/djvu/$TARBALL"
    1.15 +
    1.16 +DEPENDS="libQtGui libQtNetwork djvulibre"
    1.17 +BUILD_DEPENDS="qmake Qt4-dev djvulibre-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	./configure
    1.23 +	sed -i 's/-O2/-Os/g' $src/src/Makefile
    1.24 +	make &&
    1.25 +	make install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	cp -a $install/* $fs
    1.32 +	mkdir -p $fs/usr/share/applications $fs/usr/share/icons/hicolor/32x32/apps
    1.33 +	cd $fs/usr/share/djvu/djview4/desktop
    1.34 +	mv djvulibre-djview4.desktop $fs/usr/share/applications
    1.35 +	mv hi32-djview4.png $fs/usr/share/icons/hicolor/32x32/apps/djvulibre-djview4.png
    1.36 +	rm -rf *.png *.svgz
    1.37 +	rm -rf $fs/usr/lib
    1.38 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/qlipper/receipt	Sat Sep 06 13:29:11 2014 +0200
     2.3 @@ -0,0 +1,31 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="qlipper"
     2.7 +VERSION="2.0.2"
     2.8 +CATEGORY="utilities"
     2.9 +SHORT_DESC="Clipboard history tool."
    2.10 +MAINTAINER="psychomaniak@xakep.ru"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="http://qlipper.googlecode.com/"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14 +WGET_URL="$WEB_SITE/files/$TARBALL"
    2.15 +
    2.16 +DEPENDS="libQtGui libQtDBus libQtNetwork"
    2.17 +BUILD_DEPENDS="Qt4-dev cmake qmake"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	cd $src && sed -i 's/ ON/ OFF/g' CMakeLists.txt
    2.23 +	cmake \
    2.24 +		-DCMAKE_BUILD_TYPE=release \
    2.25 +		-DUSE_SYSTEM_QXT=0 \
    2.26 +		-DCMAKE_INSTALL_PREFIX=/usr . &&
    2.27 +	make && make DESTDIR=$DESTDIR install
    2.28 +}
    2.29 +
    2.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.31 +genpkg_rules()
    2.32 +{
    2.33 +	cp -a $install/* $fs
    2.34 +}