wok-next diff notecase/receipt @ rev 20513
A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 21 15:58:17 2018 +0200 (2018-03-21) |
parents | bce36a298f1e |
children | b19ddba309f9 |
line diff
1.1 --- a/notecase/receipt Wed Feb 28 13:29:20 2018 +0200 1.2 +++ b/notecase/receipt Wed Mar 21 15:58:17 2018 +0200 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="notecase" 1.8 VERSION="1.9.8" 1.9 @@ -6,29 +6,26 @@ 1.10 SHORT_DESC="A hierarchical text notes manager" 1.11 MAINTAINER="cooltaz@fastmail.fm" 1.12 LICENSE="BSD" 1.13 +WEB_SITE="http://notecase.sourceforge.net/" 1.14 + 1.15 TARBALL="$PACKAGE-${VERSION}_src.tar.gz" 1.16 -WEB_SITE="http://notecase.sourceforge.net/" 1.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 -TAGS="office notes" 1.19 1.20 -DEPENDS="gnome-vfs gtksourceview" 1.21 -BUILD_DEPENDS="gtk+-dev xorg-pixman-dev gtksourceview-dev gnome-vfs-dev GConf-dev \ 1.22 -pkg-config gettext-tools" 1.23 +BUILD_DEPENDS="gtk+-dev xorg-pixman-dev gtksourceview-dev gnome-vfs-dev \ 1.24 +GConf-dev gettext-tools" 1.25 1.26 -# Rules to configure and make the package. 1.27 -compile_rules() 1.28 -{ 1.29 +compile_rules() { 1.30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11" 1.31 busybox patch -p1 -i $stuff/notecase-1.9.8_gcc4.u || return 1 1.32 - 1.33 + 1.34 sed -i s/'install -D'/'install'/ Makefile 1.35 sed -i 's/^DEBSIZE:=.*/DEBSIZE:=0/' Makefile* 1.36 + 1.37 # Compile 1.38 make CFLAGS="$(pkg-config gnome-vfs-2.0 --cflags)" 1.39 # Locale trick (Makefile use install -D) 1.40 cd po 1.41 - for i in `ls *.po | cut -f1 -d.` 1.42 - do 1.43 + for i in $(ls *.po | cut -f1 -d.); do 1.44 mkdir -p $install/usr/share/locale/$i/LC_MESSAGES 1.45 done 1.46 cd .. 1.47 @@ -36,12 +33,8 @@ 1.48 make DESTDIR=$DESTDIR install 1.49 } 1.50 1.51 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.52 -genpkg_rules() 1.53 -{ 1.54 - mkdir -p $fs/usr/share/applications 1.55 - 1.56 - cp -a $install/usr/bin $fs/usr 1.57 - cp -a $stuff/notecase.desktop $fs/usr/share/applications 1.58 +genpkg_rules() { 1.59 + copy @std 1.60 + DEPENDS="gnome-vfs gtksourceview" 1.61 + TAGS="office notes" 1.62 } 1.63 -