wok-current view bluefish/receipt @ rev 4481

linux: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 14 15:44:04 2009 +0100 (2009-11-14)
parents 2407153fdf77
children 395ec8205cff
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"
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 }