wok-next annotate notecase/receipt @ rev 21543
updated ccid (1.4.30 -> 1.4.32)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 21 17:20:25 2020 +0100 (2020-06-21) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20513 | 1 # SliTaz package receipt v2. |
pankso@1037 | 2 |
pankso@1037 | 3 PACKAGE="notecase" |
erjo@4241 | 4 VERSION="1.9.8" |
pankso@1037 | 5 CATEGORY="office" |
al@17263 | 6 SHORT_DESC="A hierarchical text notes manager" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15356 | 8 LICENSE="BSD" |
al@20513 | 9 WEB_SITE="http://notecase.sourceforge.net/" |
al@20513 | 10 |
pankso@1037 | 11 TARBALL="$PACKAGE-${VERSION}_src.tar.gz" |
pankso@1037 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@1037 | 13 |
al@21078 | 14 BUILD_DEPENDS="gtk2-dev pixman-dev gtksourceview-dev gnome-vfs-dev \ |
al@21020 | 15 gconf-dev gettext libgcrypt-dev" |
pascal@15356 | 16 |
al@20513 | 17 compile_rules() { |
pascal@17670 | 18 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" |
al@20513 | 19 |
pankso@1037 | 20 sed -i s/'install -D'/'install'/ Makefile |
pascal@14325 | 21 sed -i 's/^DEBSIZE:=.*/DEBSIZE:=0/' Makefile* |
al@20513 | 22 |
pankso@1037 | 23 # Compile |
pascal@15355 | 24 make CFLAGS="$(pkg-config gnome-vfs-2.0 --cflags)" |
pankso@1037 | 25 # Locale trick (Makefile use install -D) |
pankso@1037 | 26 cd po |
al@20513 | 27 for i in $(ls *.po | cut -f1 -d.); do |
pascal@14326 | 28 mkdir -p $install/usr/share/locale/$i/LC_MESSAGES |
pankso@1037 | 29 done |
pankso@1037 | 30 cd .. |
pankso@1037 | 31 # Install |
al@21020 | 32 make DESTDIR=$install install |
pankso@1037 | 33 } |
pankso@1037 | 34 |
al@20513 | 35 genpkg_rules() { |
al@20513 | 36 copy @std |
al@20513 | 37 DEPENDS="gnome-vfs gtksourceview" |
al@20513 | 38 TAGS="office notes" |
pankso@1037 | 39 } |