wok annotate notecase/receipt @ rev 17898

Add clearlooks-colors.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 03 01:31:15 2015 +0300 (2015-04-03)
parents 2ab1d75df9f2
children 3705d68ed8f3
rev   line source
pankso@1037 1 # SliTaz package receipt
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"
pankso@1037 7 MAINTAINER="cooltaz@fastmail.fm"
pascal@15356 8 LICENSE="BSD"
pankso@1037 9 TARBALL="$PACKAGE-${VERSION}_src.tar.gz"
pankso@1037 10 WEB_SITE="http://notecase.sourceforge.net/"
pankso@1037 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4969 12 TAGS="office notes"
pankso@1037 13
al@17263 14 DEPENDS="gnome-vfs gtksourceview"
pascal@17674 15 BUILD_DEPENDS="gtk+-dev pixman-dev gtksourceview-dev gnome-vfs-dev GConf-dev \
pascal@17674 16 pkg-config"
pascal@15356 17
pankso@1037 18 # Rules to configure and make the package.
pankso@1037 19 compile_rules()
pankso@4326 20 {
pascal@17670 21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
erjo@9867 22 busybox patch -p1 -i $stuff/notecase-1.9.8_gcc4.u || return 1
erjo@9867 23
pankso@1037 24 sed -i s/'install -D'/'install'/ Makefile
pascal@14325 25 sed -i 's/^DEBSIZE:=.*/DEBSIZE:=0/' Makefile*
pankso@1037 26 # Compile
pascal@15355 27 make CFLAGS="$(pkg-config gnome-vfs-2.0 --cflags)"
pankso@1037 28 # Locale trick (Makefile use install -D)
pankso@1037 29 cd po
pankso@1037 30 for i in `ls *.po | cut -f1 -d.`
pankso@1037 31 do
pascal@14326 32 mkdir -p $install/usr/share/locale/$i/LC_MESSAGES
pankso@1037 33 done
pankso@1037 34 cd ..
pankso@1037 35 # Install
pascal@14325 36 make DESTDIR=$DESTDIR install
pankso@1037 37 }
pankso@1037 38
pankso@1037 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1037 40 genpkg_rules()
pankso@1037 41 {
pascal@11623 42 mkdir -p $fs/usr/share/applications
al@17261 43
al@17261 44 cp -a $install/usr/bin $fs/usr
pascal@11623 45 cp -a $stuff/notecase.desktop $fs/usr/share/applications
pankso@1037 46 }
pankso@1037 47