wok-next view notecase/receipt @ rev 20519

Synchronize wok-hg with wok. Some yesterday's patches are lost :(
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 23 10:45:35 2018 +0200 (2018-03-23)
parents d43bf7aae921
children d6378d455338
line source
1 # SliTaz package receipt v2.
3 PACKAGE="notecase"
4 VERSION="1.9.8"
5 CATEGORY="office"
6 SHORT_DESC="A hierarchical text notes manager"
7 MAINTAINER="cooltaz@fastmail.fm"
8 LICENSE="BSD"
9 WEB_SITE="http://notecase.sourceforge.net/"
11 TARBALL="$PACKAGE-${VERSION}_src.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="gtk+-dev xorg-pixman-dev gtksourceview-dev gnome-vfs-dev \
15 GConf-dev gettext-tools libgcrypt-dev"
17 compile_rules() {
18 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
19 busybox patch -p1 -i $stuff/notecase-1.9.8_gcc4.u || return 1
21 sed -i s/'install -D'/'install'/ Makefile
22 sed -i 's/^DEBSIZE:=.*/DEBSIZE:=0/' Makefile*
24 # Compile
25 make CFLAGS="$(pkg-config gnome-vfs-2.0 --cflags)"
26 # Locale trick (Makefile use install -D)
27 cd po
28 for i in $(ls *.po | cut -f1 -d.); do
29 mkdir -p $install/usr/share/locale/$i/LC_MESSAGES
30 done
31 cd ..
32 # Install
33 make DESTDIR=$DESTDIR install
34 }
36 genpkg_rules() {
37 copy @std
38 DEPENDS="gnome-vfs gtksourceview"
39 TAGS="office notes"
40 }