wok-next view notecase/receipt @ rev 20800

apngopt: typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 12 01:07:56 2018 +0300 (2018-06-12)
parents b19ddba309f9
children d2950281f122
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"
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 }