wok-current rev 15723

Move from undigest: poppler-qt4-apps varka varka-dev vifm tmux-mem-cpu-load (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 26 13:52:49 2013 +0000 (2013-12-26)
parents b16889911be6
children 135b6b635ef2
files poppler-qt4-apps/receipt tmux-mem-cpu-load/receipt varka-dev/receipt varka/receipt vifm/receipt vifm/receipt.orig
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/poppler-qt4-apps/receipt	Thu Dec 26 13:52:49 2013 +0000
     1.3 @@ -0,0 +1,25 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="poppler-qt4-apps"
     1.7 +VERSION="0.22.1"
     1.8 +CATEGORY="office"
     1.9 +SHORT_DESC="Poppler utilities to manipulate PDF file."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WANTED="poppler"
    1.13 +WEB_SITE="http://poppler.freedesktop.org/"
    1.14 +
    1.15 +DEPENDS="fontconfig poppler-qt4 cairo zlib libpng gcc-lib-base libQtCore \
    1.16 +libQtXml libQtGui"
    1.17 +
    1.18 +PROVIDE="poppler-apps"
    1.19 +
    1.20 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.21 +genpkg_rules()
    1.22 +{
    1.23 +	mkdir -p $fs/usr
    1.24 +	cp -a $install/usr/bin $fs/usr
    1.25 +	if [ -f $fs/usr/bin/poppler-glib-demo ]; then
    1.26 +		rm -rf $fs/usr/bin/poppler-glib-demo
    1.27 +	fi
    1.28 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/tmux-mem-cpu-load/receipt	Thu Dec 26 13:52:49 2013 +0000
     2.3 @@ -0,0 +1,44 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="tmux-mem-cpu-load"
     2.7 +VERSION="2.2.1"
     2.8 +CATEGORY="utilities"
     2.9 +SHORT_DESC="CPU, RAM memory, and load monitor for use with tmux."
    2.10 +MAINTAINER="paul@slitaz.org"
    2.11 +LICENSE="Apache"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.13 +WEB_SITE="https://github.com/thewtex/tmux-mem-cpu-load"
    2.14 +WGET_URL="git|git://github.com/thewtex/tmux-mem-cpu-load"
    2.15 +
    2.16 +DEPENDS="tmux"
    2.17 +BUILD_DEPENDS="cmake python bzip2 git"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	cd $src
    2.23 +	cmake . -DCMAKE_INSTALL_PREFIX=/usr
    2.24 +	make && make install
    2.25 +}
    2.26 +
    2.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.28 +genpkg_rules()
    2.29 +{
    2.30 +	mkdir -p $fs/usr
    2.31 +	cp -a $install/usr/bin $fs/usr
    2.32 +}
    2.33 +
    2.34 +post_install()
    2.35 +{
    2.36 +	echo -n "Checking for .tmux.conf..."
    2.37 +	if [ ! -f /home/tux/.tmux.conf ] || $(! grep -q "tmux-mem-cpu-load" /home/tux/.tmux.conf); then
    2.38 +	cat >> /home/tux/.tmux.conf << EOT
    2.39 +# tmux-mem-cpu-load
    2.40 +set -g status-interval 2
    2.41 +set -g status-right "#[fg=black,bg=green]#(tmux-mem-cpu-load 2)#[default]"
    2.42 +EOT
    2.43 +	fi
    2.44 +	chown tux:users /home/tux/.tmux.conf
    2.45 +	status
    2.46 +}
    2.47 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/varka-dev/receipt	Thu Dec 26 13:52:49 2013 +0000
     3.3 @@ -0,0 +1,21 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="varka-dev"
     3.7 +VERSION="0.1"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Development files for varka"
    3.10 +MAINTAINER="al.bobylev@gmail.com"
    3.11 +LICENSE="GPL3"
    3.12 +WEB_SITE="https://launchpad.net/varka"
    3.13 +
    3.14 +WANTED="varka"
    3.15 +DEPENDS="varka"
    3.16 +
    3.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.18 +genpkg_rules()
    3.19 +{
    3.20 +	mkdir -p $fs/usr/lib
    3.21 +	cp -a $install/usr/include $fs/usr
    3.22 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    3.23 +	cp -a $install/usr/share $fs/usr
    3.24 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/varka/receipt	Thu Dec 26 13:52:49 2013 +0000
     4.3 @@ -0,0 +1,32 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="varka"
     4.7 +VERSION="0.1"
     4.8 +CATEGORY="development"
     4.9 +SHORT_DESC="A library on top of gtk to build applications"
    4.10 +MAINTAINER="al.bobylev@gmail.com"
    4.11 +LICENSE="GPL3"
    4.12 +WEB_SITE="https://launchpad.net/varka"
    4.13 +BRANCH="15"
    4.14 +TARBALL="$PACKAGE-$BRANCH.tar.bz2"
    4.15 +WGET_URL="bzr|lp:varka"
    4.16 +
    4.17 +DEPENDS="gtk+3"
    4.18 +BUILD_DEPENDS="bazaar cmake gobject-introspection-dev gtk+3-dev libgio-dev vala"
    4.19 +
    4.20 +# Rules to configure and make the package.
    4.21 +compile_rules()
    4.22 +{
    4.23 +	export LDFLAGS="$LDFLAGS $(pkg-config --libs gio-unix-2.0 gmodule-2.0)"
    4.24 +	mkdir build && cd build
    4.25 +	cmake .. -DCMAKE_INSTALL_PREFIX=/usr && \
    4.26 +	make && \
    4.27 +	make DESTDIR=$install install
    4.28 +}
    4.29 +
    4.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.31 +genpkg_rules()
    4.32 +{
    4.33 +	mkdir -p $fs/usr/lib
    4.34 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.35 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/vifm/receipt	Thu Dec 26 13:52:49 2013 +0000
     5.3 @@ -0,0 +1,34 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="vifm"
     5.7 +VERSION="0.7.6"
     5.8 +CATEGORY="utilities"
     5.9 +SHORT_DESC="Vi File Manager."
    5.10 +MAINTAINER="paul@slitaz.org"
    5.11 +LICENSE="GPL2"
    5.12 +DEPENDS="ncurses libmagic xorg-libX11 vim file"
    5.13 +BUILD_DEPENDS="ncurses-dev libmagic-dev xorg-libX11-dev util-linux-whereis vim file"
    5.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    5.15 +WEB_SITE="http://vifm.sourceforge.net/"
    5.16 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    5.17 +
    5.18 +# Rules to configure and make the package.
    5.19 +compile_rules()
    5.20 +{
    5.21 +	cd $src
    5.22 +	./configure \
    5.23 +		--prefix=/usr \
    5.24 +	 	$CONFIGURE_ARGS &&
    5.25 +	make && make DESTDIR=$DESTDIR install
    5.26 +}
    5.27 +
    5.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.29 +genpkg_rules()
    5.30 +{
    5.31 +	mkdir -p $fs/usr
    5.32 +	cp -a $install/usr/bin $fs/usr
    5.33 +	cp -a $install/usr/share $fs/usr
    5.34 +	# rm stuff
    5.35 +	rm -rf $fs/usr/share/man
    5.36 +}
    5.37 +
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/vifm/receipt.orig	Thu Dec 26 13:52:49 2013 +0000
     6.3 @@ -0,0 +1,37 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="vifm"
     6.7 +VERSION="0.7.6-beta2"
     6.8 +CATEGORY="utilities"
     6.9 +SHORT_DESC="Vi File Manager."
    6.10 +MAINTAINER="paul@slitaz.org"
    6.11 +LICENCE="GPL2"
    6.12 +DEPENDS="ncurses libmagic xorg-libX11 vim file"
    6.13 +BUILD_DEPENDS="ncurses-dev libmagic-dev xorg-libX11-dev util-linux-whereis vim file"
    6.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    6.15 +WEB_SITE="http://vifm.sourceforge.net/"
    6.16 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    6.17 +
    6.18 +DEPENDS="ncurses libmagic xorg-libX11 vim"
    6.19 +BUILD_DEPENDS="ncurses-dev libmagic-dev xorg-libX11-dev util-linux-whereis vim"
    6.20 +
    6.21 +# Rules to configure and make the package.
    6.22 +compile_rules()
    6.23 +{
    6.24 +	cd $src
    6.25 +	./configure \
    6.26 +		--prefix=/usr \
    6.27 +	 	$CONFIGURE_ARGS &&
    6.28 +	make && make DESTDIR=$DESTDIR install
    6.29 +}
    6.30 +
    6.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.32 +genpkg_rules()
    6.33 +{
    6.34 +	mkdir -p $fs/usr
    6.35 +	cp -a $install/usr/bin $fs/usr
    6.36 +	cp -a $install/usr/share $fs/usr
    6.37 +	# rm stuff
    6.38 +	rm -rf $fs/usr/share/man
    6.39 +}
    6.40 +