wok-current view notecase/receipt @ rev 24371
updated bird (2.0.7 -> 2.0.8)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 05 15:01:57 2022 +0100 (2022-02-05) |
parents | bd69f702d485 |
children | afae00265386 |
line source
1 # SliTaz package receipt
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 TARBALL="$PACKAGE-${VERSION}_src.tar.gz"
10 WEB_SITE="http://notecase.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="office notes"
14 DEPENDS="gnome-vfs gtksourceview"
15 BUILD_DEPENDS="gtk+-dev pixman-dev gtksourceview-dev gnome-vfs-dev GConf-dev \
16 pkg-config"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
22 busybox patch -p1 -i $stuff/notecase-1.9.8_gcc4.u || return 1
24 sed -i 's|uname -m|echo i486|' Makefile
25 sed -i s/'install -D'/'install'/ Makefile
26 sed -i 's/^DEBSIZE:=.*/DEBSIZE:=0/' Makefile*
27 # Compile
28 make CFLAGS="$(pkg-config gnome-vfs-2.0 --cflags)"
29 # Locale trick (Makefile use install -D)
30 cd po
31 for i in `ls *.po | cut -f1 -d.`
32 do
33 mkdir -p $install/usr/share/locale/$i/LC_MESSAGES
34 done
35 cd ..
36 # Install
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share/applications
45 cp -a $install/usr/bin $fs/usr
46 cp -a $stuff/notecase.desktop $fs/usr/share/applications
47 }