wok rev 13721

Add cherrytree: A hierarchical note taking application, featuring rich text and syntax highlighting, storing data in a single xml or sqlite file.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 21 08:15:57 2012 +0000 (2012-12-21)
parents 5a3abfd72dc0
children b250930c7b6f 4e805e1b2e7b
files cherrytree/receipt pygtksourceview-dev/receipt pygtksourceview/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cherrytree/receipt	Fri Dec 21 08:15:57 2012 +0000
     1.3 @@ -0,0 +1,26 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cherrytree"
     1.7 +VERSION="0.28.4"
     1.8 +CATEGORY="office"
     1.9 +SHORT_DESC="A hierarchical note taking application"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +WEB_SITE="http://www.giuspen.com/cherrytree/"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.13 +WGET_URL="http://www.giuspen.com/software/$TARBALL"
    1.14 +
    1.15 +DEPENDS="python pygtk pygtksourceview p7zip-full"
    1.16 +BUILD_DEPENDS="python desktop-file-utils pygtksourceview-dev"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	python setup.py install --prefix=$install/usr -f
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	cp -a $install/* $fs
    1.29 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/pygtksourceview-dev/receipt	Fri Dec 21 08:15:57 2012 +0000
     2.3 @@ -0,0 +1,16 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="pygtksourceview-dev"
     2.7 +VERSION="2.10.1"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Devel files for PyGtkSourceView"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +WEB_SITE="http://projects.gnome.org/gtksourceview/pygtksourceview.html"
    2.12 +WANTED="pygtksourceview"
    2.13 +
    2.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.15 +genpkg_rules()
    2.16 +{
    2.17 +	cp -a $install/* $fs
    2.18 +	rm -f $fs/usr/lib/python2.7/site-packages/*.so
    2.19 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/pygtksourceview/receipt	Fri Dec 21 08:15:57 2012 +0000
     3.3 @@ -0,0 +1,30 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="pygtksourceview"
     3.7 +VERSION="2.10.1"
     3.8 +CATEGORY="misc"
     3.9 +SHORT_DESC="Python bindings for GtkSourceView"
    3.10 +MAINTAINER="al.bobylev@gmail.com"
    3.11 +WEB_SITE="http://projects.gnome.org/gtksourceview/pygtksourceview.html"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.13 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    3.14 +
    3.15 +DEPENDS="python pygtk gtksourceview pygobject"
    3.16 +BUILD_DEPENDS="python-dev pygtk-dev gtksourceview-dev pygobject-dev pkg-config \
    3.17 +libxml2-dev"
    3.18 +
    3.19 +# Rules to configure and make the package.
    3.20 +compile_rules()
    3.21 +{
    3.22 +	CFLAGS="$CFLAGS $(pkg-config --cflags pygtk-2.0 gtksourceview-2.0)"
    3.23 +	./configure $CONFIGURE_ARGS --disable-docs &&
    3.24 +	make && make install
    3.25 +}
    3.26 +
    3.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.28 +genpkg_rules()
    3.29 +{
    3.30 +	LIBDIR="usr/lib/python2.7/site-packages"
    3.31 +	mkdir -p $fs/$LIBDIR
    3.32 +	cp -a $install/$LIBDIR/gtksourceview2.so $fs/$LIBDIR
    3.33 +}