# HG changeset patch # User Aleksej Bobylev # Date 1356077757 0 # Node ID ade0a50b6a2d39237c54a537a4f6f3824ce99e65 # Parent 5a3abfd72dc0c3aedb086434715036896ffed9df Add cherrytree: A hierarchical note taking application, featuring rich text and syntax highlighting, storing data in a single xml or sqlite file. diff -r 5a3abfd72dc0 -r ade0a50b6a2d cherrytree/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cherrytree/receipt Fri Dec 21 08:15:57 2012 +0000 @@ -0,0 +1,26 @@ +# SliTaz package receipt. + +PACKAGE="cherrytree" +VERSION="0.28.4" +CATEGORY="office" +SHORT_DESC="A hierarchical note taking application" +MAINTAINER="al.bobylev@gmail.com" +WEB_SITE="http://www.giuspen.com/cherrytree/" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="http://www.giuspen.com/software/$TARBALL" + +DEPENDS="python pygtk pygtksourceview p7zip-full" +BUILD_DEPENDS="python desktop-file-utils pygtksourceview-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --prefix=$install/usr -f +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +} diff -r 5a3abfd72dc0 -r ade0a50b6a2d pygtksourceview-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pygtksourceview-dev/receipt Fri Dec 21 08:15:57 2012 +0000 @@ -0,0 +1,16 @@ +# SliTaz package receipt. + +PACKAGE="pygtksourceview-dev" +VERSION="2.10.1" +CATEGORY="development" +SHORT_DESC="Devel files for PyGtkSourceView" +MAINTAINER="al.bobylev@gmail.com" +WEB_SITE="http://projects.gnome.org/gtksourceview/pygtksourceview.html" +WANTED="pygtksourceview" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs + rm -f $fs/usr/lib/python2.7/site-packages/*.so +} diff -r 5a3abfd72dc0 -r ade0a50b6a2d pygtksourceview/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pygtksourceview/receipt Fri Dec 21 08:15:57 2012 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="pygtksourceview" +VERSION="2.10.1" +CATEGORY="misc" +SHORT_DESC="Python bindings for GtkSourceView" +MAINTAINER="al.bobylev@gmail.com" +WEB_SITE="http://projects.gnome.org/gtksourceview/pygtksourceview.html" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" + +DEPENDS="python pygtk gtksourceview pygobject" +BUILD_DEPENDS="python-dev pygtk-dev gtksourceview-dev pygobject-dev pkg-config \ +libxml2-dev" + +# Rules to configure and make the package. +compile_rules() +{ + CFLAGS="$CFLAGS $(pkg-config --cflags pygtk-2.0 gtksourceview-2.0)" + ./configure $CONFIGURE_ARGS --disable-docs && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + LIBDIR="usr/lib/python2.7/site-packages" + mkdir -p $fs/$LIBDIR + cp -a $install/$LIBDIR/gtksourceview2.so $fs/$LIBDIR +}