wok-current view notecase/receipt @ rev 4717

slitaz-dev-tools: add tazdev purge
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 05 11:56:30 2010 +0100 (2010-01-05)
parents 085349c91f6a
children bee79018e13a
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"
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 busybox patch -p0 -i stuff/notecase-1.9.8_gcc4.u || exit 1
18 cd $src
19 # Disable gnome-vfs support
20 sed -i /'AUTODETECT_GNOME_VFS=1'/d Makefile
21 sed -i /'HAVE_GNOME_VFS=1'/d Makefile
22 sed -i /'AUTODETECT_GTKSOURCEVIEW=1'/d Makefile
23 sed -i s/'install -D'/'install'/ Makefile
24 # Compile
25 make
26 # Locale trick (Makefile use install -D)
27 cd po
28 for i in `ls *.po | cut -f1 -d.`
29 do
30 mkdir -p $src/_pkg/usr/share/locale/$i/LC_MESSAGES
31 done
32 cd ..
33 # Install
34 make DESTDIR=$PWD/_pkg install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
41 cp -a $_pkg/usr/bin $fs/usr
42 cp -a $_pkg/usr/share/mime $fs/usr/share
43 }