wok-next view notecase/receipt @ rev 21018

Nasty typo broke the cooker
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Oct 17 03:59:24 2018 +0300 (2018-10-17)
parents d2950281f122
children d5aab818505e
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="gtk2-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"
20 sed -i s/'install -D'/'install'/ Makefile
21 sed -i 's/^DEBSIZE:=.*/DEBSIZE:=0/' Makefile*
23 # Compile
24 make CFLAGS="$(pkg-config gnome-vfs-2.0 --cflags)"
25 # Locale trick (Makefile use install -D)
26 cd po
27 for i in $(ls *.po | cut -f1 -d.); do
28 mkdir -p $install/usr/share/locale/$i/LC_MESSAGES
29 done
30 cd ..
31 # Install
32 make DESTDIR=$DESTDIR install
33 }
35 genpkg_rules() {
36 copy @std
37 DEPENDS="gnome-vfs gtksourceview"
38 TAGS="office notes"
39 }