wok view bluefish/receipt @ rev 5012

rm rpm in for loop to save RAM (thanks Eric)
author Rohit Joshi <jozee@slitaz.org>
date Sun Feb 28 19:50:05 2010 +0000 (2010-02-28)
parents 4ffc7c76d358
children 1585b6bbdbd4
line source
1 # SliTaz package receipt.
3 PACKAGE="bluefish"
4 VERSION="1.0.7"
5 CATEGORY="development"
6 SHORT_DESC="A powerful editor"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gtk+ pcre xorg-libXdamage aspell gcc-lib-base"
9 BUILD_DEPENDS="gtk+-dev pcre-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://bluefish.openoffice.nl/index.html"
12 WGET_URL="http://www.bennewitz.com/bluefish/stable/source/${TARBALL}"
13 TAGS="editor language HTML programming scripting"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mkdir -p _pkg/usr/share/mime-info
20 cp data/bluefish.mime _pkg/usr/share/mime-info
21 cp data/bluefish.keys _pkg/usr/share/mime-info
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr $fs/usr/share/locale
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
34 cp -a $_pkg/usr/share/mime $fs/usr/share
35 cp -a $_pkg/usr/share/mime-info $fs/usr/share
36 cp -a $_pkg/usr/share/bluefish $fs/usr/share
37 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
39 }