wok-next view notecase/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
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="devel@slitaz.org"
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 pixman-dev gtksourceview-dev gnome-vfs-dev \
15 gconf-dev gettext 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=$install install
33 }
35 genpkg_rules() {
36 copy @std
37 DEPENDS="gnome-vfs gtksourceview"
38 TAGS="office notes"
39 }