wok-current view notecase/receipt @ rev 3275
galculator: Add chinese name and comment to galculator.desktop
author | Chen Yufei <tsjz@ymail.com> |
---|---|
date | Tue Jun 02 12:47:11 2009 +0800 (2009-06-02) |
parents | 8bae5c6c50e6 |
children | 085349c91f6a |
line source
1 # SliTaz package receipt
3 PACKAGE="notecase"
4 VERSION="1.9.3"
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 cd $src
18 # Disable gnome-vfs support
19 sed -i /'AUTODETECT_GNOME_VFS=1'/d Makefile
20 sed -i /'HAVE_GNOME_VFS=1'/d Makefile
21 sed -i s/'install -D'/'install'/ Makefile
22 # Compile
23 make
24 # Locale trick (Makefile use install -D)
25 cd po
26 for i in `ls *.po | cut -f1 -d.`
27 do
28 mkdir -p $src/_pkg/usr/share/locale/$i/LC_MESSAGES
29 done
30 cd ..
31 # Install
32 make DESTDIR=$PWD/_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/usr/share/mime $fs/usr/share
41 }