wok-stable annotate notecase/receipt @ rev 2043
Up: sqlite (3.6.10)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 16 19:29:31 2009 +0100 (2009-01-16) |
parents | 3432d9ff4065 |
children | d4b161735a3e |
rev | line source |
---|---|
pankso@1037 | 1 # SliTaz package receipt |
pankso@1037 | 2 |
pankso@1037 | 3 PACKAGE="notecase" |
pankso@1037 | 4 VERSION="1.9.3" |
pankso@1037 | 5 CATEGORY="office" |
pankso@1037 | 6 SHORT_DESC="Hierarchical note manager (aka. outliner)." |
pankso@1037 | 7 MAINTAINER="cooltaz@fastmail.fm" |
pankso@1037 | 8 DEPENDS="gtk+" |
erjo@1044 | 9 BUILD_DEPENDS="gtk+-dev pixman-dev" |
pankso@1037 | 10 TARBALL="$PACKAGE-${VERSION}_src.tar.gz" |
pankso@1037 | 11 WEB_SITE="http://notecase.sourceforge.net/" |
pankso@1037 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@1037 | 13 |
pankso@1037 | 14 # Rules to configure and make the package. |
pankso@1037 | 15 compile_rules() |
pankso@1037 | 16 { |
pankso@1037 | 17 cd $src |
pankso@1037 | 18 # Disable gnome-vfs support |
pankso@1037 | 19 sed -i /'AUTODETECT_GNOME_VFS=1'/d Makefile |
pankso@1037 | 20 sed -i /'HAVE_GNOME_VFS=1'/d Makefile |
pankso@1037 | 21 sed -i s/'install -D'/'install'/ Makefile |
pankso@1037 | 22 # Compile |
pankso@1037 | 23 make |
pankso@1037 | 24 # Locale trick (Makefile use install -D) |
pankso@1037 | 25 cd po |
pankso@1037 | 26 for i in `ls *.po | cut -f1 -d.` |
pankso@1037 | 27 do |
pankso@1037 | 28 mkdir -p $src/_pkg/usr/share/locale/$i/LC_MESSAGES |
pankso@1037 | 29 done |
pankso@1037 | 30 cd .. |
pankso@1037 | 31 # Install |
pankso@1037 | 32 make DESTDIR=$PWD/_pkg install |
pankso@1037 | 33 } |
pankso@1037 | 34 |
pankso@1037 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1037 | 36 genpkg_rules() |
pankso@1037 | 37 { |
pankso@1037 | 38 mkdir -p $fs/usr/share |
pankso@1037 | 39 cp -a $_pkg/usr/bin $fs/usr |
pankso@1037 | 40 cp -a $_pkg/usr/share/mime $fs/usr/share |
pankso@1037 | 41 } |
pankso@1037 | 42 |