wok-6.x annotate notecase/receipt @ rev 13196
syslinux: add memtest menu entry
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 05 10:14:57 2012 +0200 (2012-08-05) |
parents | 134ce9e4f774 |
children | 70d569bf17ed |
rev | line source |
---|---|
pankso@1037 | 1 # SliTaz package receipt |
pankso@1037 | 2 |
pankso@1037 | 3 PACKAGE="notecase" |
erjo@4241 | 4 VERSION="1.9.8" |
pankso@1037 | 5 CATEGORY="office" |
pankso@1037 | 6 SHORT_DESC="Hierarchical note manager (aka. outliner)." |
pankso@1037 | 7 MAINTAINER="cooltaz@fastmail.fm" |
pascal@5004 | 8 DEPENDS="gtk+ xorg-libXdamage gcc-lib-base" |
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" |
jozee@4969 | 13 TAGS="office notes" |
pankso@1037 | 14 |
pankso@1037 | 15 # Rules to configure and make the package. |
pankso@1037 | 16 compile_rules() |
pankso@4326 | 17 { |
erjo@9867 | 18 |
pankso@1037 | 19 cd $src |
erjo@9867 | 20 busybox patch -p1 -i $stuff/notecase-1.9.8_gcc4.u || return 1 |
erjo@9867 | 21 |
pankso@1037 | 22 # Disable gnome-vfs support |
pankso@1037 | 23 sed -i /'AUTODETECT_GNOME_VFS=1'/d Makefile |
pankso@1037 | 24 sed -i /'HAVE_GNOME_VFS=1'/d Makefile |
pankso@4326 | 25 sed -i /'AUTODETECT_GTKSOURCEVIEW=1'/d Makefile |
pankso@1037 | 26 sed -i s/'install -D'/'install'/ Makefile |
pankso@1037 | 27 # Compile |
pankso@1037 | 28 make |
pankso@1037 | 29 # Locale trick (Makefile use install -D) |
pankso@1037 | 30 cd po |
pankso@1037 | 31 for i in `ls *.po | cut -f1 -d.` |
pankso@1037 | 32 do |
pankso@1037 | 33 mkdir -p $src/_pkg/usr/share/locale/$i/LC_MESSAGES |
pankso@1037 | 34 done |
pankso@1037 | 35 cd .. |
pankso@1037 | 36 # Install |
pankso@1037 | 37 make DESTDIR=$PWD/_pkg install |
pankso@1037 | 38 } |
pankso@1037 | 39 |
pankso@1037 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1037 | 41 genpkg_rules() |
pankso@1037 | 42 { |
pascal@11623 | 43 mkdir -p $fs/usr/share/applications |
pascal@11623 | 44 cp -a $stuff/notecase.desktop $fs/usr/share/applications |
pankso@1037 | 45 cp -a $_pkg/usr/bin $fs/usr |
pankso@1037 | 46 cp -a $_pkg/usr/share/mime $fs/usr/share |
pankso@1037 | 47 } |
pankso@1037 | 48 |