wok-current view notecase/receipt @ rev 10145
Add activerecord.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 17:52:38 2011 +0000 (2011-05-20) |
parents | 0b4cf0d9e1b5 |
children | af9a1b47948c |
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
44 cp -a $_pkg/usr/bin $fs/usr
45 cp -a $_pkg/usr/share/mime $fs/usr/share
46 }