# HG changeset patch # User Xander Ziiryanoff # Date 1410002951 -7200 # Node ID 01a4fc0ae78df351758c64171d3e15f4fee215f4 # Parent 48edf2c4d86a4dea048679e2dd508a1e425b9a22 Add djview ; Add qlipper diff -r 48edf2c4d86a -r 01a4fc0ae78d djview/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/djview/receipt Sat Sep 06 13:29:11 2014 +0200 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="djview" +VERSION="4.9" +CATEGORY="graphics" +SHORT_DESC="Djvu files viewer." +MAINTAINER="psychomaniak@xakep.ru" +LICENSE="GPL2" +WEB_SITE="http://djvu.sourceforge.net/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$SF_MIRROR/djvu/$TARBALL" + +DEPENDS="libQtGui libQtNetwork djvulibre" +BUILD_DEPENDS="qmake Qt4-dev djvulibre-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure + sed -i 's/-O2/-Os/g' $src/src/Makefile + make && + make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs + mkdir -p $fs/usr/share/applications $fs/usr/share/icons/hicolor/32x32/apps + cd $fs/usr/share/djvu/djview4/desktop + mv djvulibre-djview4.desktop $fs/usr/share/applications + mv hi32-djview4.png $fs/usr/share/icons/hicolor/32x32/apps/djvulibre-djview4.png + rm -rf *.png *.svgz + rm -rf $fs/usr/lib +} diff -r 48edf2c4d86a -r 01a4fc0ae78d qlipper/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/qlipper/receipt Sat Sep 06 13:29:11 2014 +0200 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="qlipper" +VERSION="2.0.2" +CATEGORY="utilities" +SHORT_DESC="Clipboard history tool." +MAINTAINER="psychomaniak@xakep.ru" +LICENSE="GPL2" +WEB_SITE="http://qlipper.googlecode.com/" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WGET_URL="$WEB_SITE/files/$TARBALL" + +DEPENDS="libQtGui libQtDBus libQtNetwork" +BUILD_DEPENDS="Qt4-dev cmake qmake" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src && sed -i 's/ ON/ OFF/g' CMakeLists.txt + cmake \ + -DCMAKE_BUILD_TYPE=release \ + -DUSE_SYSTEM_QXT=0 \ + -DCMAKE_INSTALL_PREFIX=/usr . && + make && make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +}