wok-current view notecase/receipt @ rev 2495

libkrb5, nail, perl-gssapi: update krb5 depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 16 09:09:51 2009 +0000 (2009-03-16)
parents 3432d9ff4065
children d4b161735a3e
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+"
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 }