wok rev 1037

Add notecase (outliner)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jul 11 16:00:21 2008 +0200 (2008-07-11)
parents dce81ffe8354
children 355d452901f9
files notecase/receipt notecase/stuff/notecase.desktop
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/notecase/receipt	Fri Jul 11 16:00:21 2008 +0200
     1.3 @@ -0,0 +1,42 @@
     1.4 +# SliTaz package receipt
     1.5 +
     1.6 +PACKAGE="notecase"
     1.7 +VERSION="1.9.3"
     1.8 +CATEGORY="office"
     1.9 +SHORT_DESC="Hierarchical note manager (aka. outliner)."
    1.10 +MAINTAINER="cooltaz@fastmail.fm"
    1.11 +DEPENDS="gtk+"
    1.12 +BUILD_DEPENDS="gtk+-dev"
    1.13 +TARBALL="$PACKAGE-${VERSION}_src.tar.gz"
    1.14 +WEB_SITE="http://notecase.sourceforge.net/"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{	
    1.20 +	cd $src
    1.21 +	# Disable gnome-vfs support
    1.22 +	sed -i /'AUTODETECT_GNOME_VFS=1'/d Makefile
    1.23 +	sed -i /'HAVE_GNOME_VFS=1'/d Makefile
    1.24 +	sed -i s/'install -D'/'install'/ Makefile
    1.25 +	# Compile
    1.26 +	make
    1.27 +	# Locale trick (Makefile use install -D)
    1.28 +	cd po
    1.29 +	for i in `ls *.po | cut -f1 -d.`
    1.30 +	do
    1.31 +		mkdir -p $src/_pkg/usr/share/locale/$i/LC_MESSAGES
    1.32 +	done
    1.33 +	cd ..
    1.34 +	# Install
    1.35 +	make DESTDIR=$PWD/_pkg install
    1.36 +}
    1.37 +
    1.38 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 +genpkg_rules()
    1.40 +{
    1.41 +	mkdir -p $fs/usr/share
    1.42 +	cp -a $_pkg/usr/bin $fs/usr
    1.43 +	cp -a $_pkg/usr/share/mime $fs/usr/share
    1.44 +}
    1.45 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/notecase/stuff/notecase.desktop	Fri Jul 11 16:00:21 2008 +0200
     2.3 @@ -0,0 +1,10 @@
     2.4 +[Desktop Entry]
     2.5 +Encoding=UTF-8
     2.6 +Name=NoteCase notes manager
     2.7 +Name[fr]=Gestionnaire de notes NoteCase
     2.8 +Type=Application
     2.9 +Icon=notecase.xpm
    2.10 +Exec=notecase
    2.11 +Terminal=false
    2.12 +Categories=Application;Office;
    2.13 +MimeType=application/notecase-plain;application/notecase-enc;