wok-next view notecase/receipt @ rev 9164
Up: libupnp to 1.6.12.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Mar 07 23:14:16 2011 +0000 (2011-03-07) |
parents | 5b44af8c1257 |
children | 134ce9e4f774 |
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 {
18 busybox patch -p0 -i stuff/notecase-1.9.8_gcc4.u || return 1
19 cd $src
20 # Disable gnome-vfs support
21 sed -i /'AUTODETECT_GNOME_VFS=1'/d Makefile
22 sed -i /'HAVE_GNOME_VFS=1'/d Makefile
23 sed -i /'AUTODETECT_GTKSOURCEVIEW=1'/d Makefile
24 sed -i s/'install -D'/'install'/ Makefile
25 # Compile
26 make
27 # Locale trick (Makefile use install -D)
28 cd po
29 for i in `ls *.po | cut -f1 -d.`
30 do
31 mkdir -p $src/_pkg/usr/share/locale/$i/LC_MESSAGES
32 done
33 cd ..
34 # Install
35 make DESTDIR=$PWD/_pkg install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
42 cp -a $_pkg/usr/bin $fs/usr
43 cp -a $_pkg/usr/share/mime $fs/usr/share
44 }