wok-stable view notecase/receipt @ rev 4317
Codeblocks: hack for new glib
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 29 10:37:40 2009 +0200 (2009-09-29) |
parents | d4b161735a3e |
children | f71dc16e767f |
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 s/'install -D'/'install'/ Makefile
23 # Compile
24 make
25 # Locale trick (Makefile use install -D)
26 cd po
27 for i in `ls *.po | cut -f1 -d.`
28 do
29 mkdir -p $src/_pkg/usr/share/locale/$i/LC_MESSAGES
30 done
31 cd ..
32 # Install
33 make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 cp -a $_pkg/usr/bin $fs/usr
41 cp -a $_pkg/usr/share/mime $fs/usr/share
42 }