wok annotate bluefish/receipt @ rev 10328

fsarchiver: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 00:55:31 2011 +0000 (2011-05-22)
parents 5e37f8bdc7f0
children ea422177b5f3
rev   line source
erjo@1170 1 # SliTaz package receipt.
erjo@1170 2
erjo@1170 3 PACKAGE="bluefish"
slaxemulator@8827 4 VERSION="2.0.3"
pascal@1423 5 CATEGORY="development"
erjo@1170 6 SHORT_DESC="A powerful editor"
erjo@1170 7 MAINTAINER="erjo@slitaz.org"
slaxemulator@6306 8 DEPENDS="gtk+ pcre xorg-libXdamage aspell libxml2 gcc-lib-base"
slaxemulator@6306 9 BUILD_DEPENDS="gtk+-dev pcre-dev intltool libxml2-dev expat-dev"
erjo@1170 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@1170 11 WEB_SITE="http://bluefish.openoffice.nl/index.html"
erjo@1170 12 WGET_URL="http://www.bennewitz.com/bluefish/stable/source/${TARBALL}"
jozee@3567 13 TAGS="editor language HTML programming scripting"
erjo@1170 14
erjo@1170 15 # Rules to configure and make the package.
erjo@1170 16 compile_rules()
erjo@1170 17 {
erjo@1170 18 cd $src
slaxemulator@5394 19 #mkdir -p _pkg/usr/share/mime-info
slaxemulator@5394 20 #cp data/bluefish.mime _pkg/usr/share/mime-info
slaxemulator@5394 21 #cp data/bluefish.keys _pkg/usr/share/mime-info
erjo@1170 22 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1551 23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1551 24 make &&
erjo@1170 25 make DESTDIR=$PWD/_pkg install
erjo@1170 26 }
erjo@1170 27
erjo@1170 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1170 29 genpkg_rules()
erjo@1170 30 {
erjo@1170 31 mkdir -p $fs/usr $fs/usr/share/locale
erjo@1170 32 cp -a $_pkg/usr/bin $fs/usr
erjo@1170 33 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
erjo@1170 34 cp -a $_pkg/usr/share/mime $fs/usr/share
erjo@1170 35 cp -a $_pkg/usr/share/bluefish $fs/usr/share
erjo@1170 36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@1170 37
erjo@1170 38 }
erjo@1170 39