wok view bluefish/receipt @ rev 9055

bluefish: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 11:43:00 2011 +0100 (2011-03-04)
parents 5e37f8bdc7f0
children ea422177b5f3
line source
1 # SliTaz package receipt.
3 PACKAGE="bluefish"
4 VERSION="2.0.3"
5 CATEGORY="development"
6 SHORT_DESC="A powerful editor"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gtk+ pcre xorg-libXdamage aspell libxml2 gcc-lib-base"
9 BUILD_DEPENDS="gtk+-dev pcre-dev intltool libxml2-dev expat-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/bluefish $fs/usr/share
36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
38 }