wok view notecase/receipt @ rev 13307
Move from undigest help2man
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 29 10:51:33 2012 +0200 (2012-08-29) |
parents | 134ce9e4f774 |
children | 70d569bf17ed |
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"
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 busybox patch -p1 -i $stuff/notecase-1.9.8_gcc4.u || return 1
22 # Disable gnome-vfs support
23 sed -i /'AUTODETECT_GNOME_VFS=1'/d Makefile
24 sed -i /'HAVE_GNOME_VFS=1'/d Makefile
25 sed -i /'AUTODETECT_GTKSOURCEVIEW=1'/d Makefile
26 sed -i s/'install -D'/'install'/ Makefile
27 # Compile
28 make
29 # Locale trick (Makefile use install -D)
30 cd po
31 for i in `ls *.po | cut -f1 -d.`
32 do
33 mkdir -p $src/_pkg/usr/share/locale/$i/LC_MESSAGES
34 done
35 cd ..
36 # Install
37 make DESTDIR=$PWD/_pkg install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share/applications
44 cp -a $stuff/notecase.desktop $fs/usr/share/applications
45 cp -a $_pkg/usr/bin $fs/usr
46 cp -a $_pkg/usr/share/mime $fs/usr/share
47 }