wok-current view notecase/receipt @ rev 14989

thunderbird-langpack-*: add license; add cs, el, en_US, es_AR, hu, pl, sl, sv_SE locales
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 09 13:10:42 2013 +0300 (2013-08-09)
parents 9c2c99da19ea
children 51731905055e
line source
1 # SliTaz package receipt
3 PACKAGE="notecase"
4 VERSION="1.9.8"
5 CATEGORY="office"
6 SHORT_DESC="Hierarchical note manager (aka. outliner)."
7 MAINTAINER="cooltaz@fastmail.fm"
8 DEPENDS="gtk+ xorg-libXdamage gcc-lib-base"
9 BUILD_DEPENDS="gtk+-dev pixman-dev gtksourceview-dev gnome-vfs-dev"
10 TARBALL="$PACKAGE-${VERSION}_src.tar.gz"
11 WEB_SITE="http://notecase.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="office notes"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
19 cd $src
20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
21 busybox patch -p1 -i $stuff/notecase-1.9.8_gcc4.u || return 1
23 # Disable gnome-vfs support
24 sed -i /'AUTODETECT_GNOME_VFS=1'/d Makefile
25 sed -i /'HAVE_GNOME_VFS=1'/d Makefile
26 sed -i /'AUTODETECT_GTKSOURCEVIEW=1'/d Makefile
27 sed -i s/'install -D'/'install'/ Makefile
28 sed -i 's/^DEBSIZE:=.*/DEBSIZE:=0/' Makefile*
29 # Compile
30 make 2>&1 | grep -v gtksourceview.h
31 # Locale trick (Makefile use install -D)
32 cd po
33 for i in `ls *.po | cut -f1 -d.`
34 do
35 mkdir -p $install/usr/share/locale/$i/LC_MESSAGES
36 done
37 cd ..
38 # Install
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/share/applications
46 cp -a $stuff/notecase.desktop $fs/usr/share/applications
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/share/mime $fs/usr/share
49 }