wok annotate bluefish/receipt @ rev 15535

Up: firefox-dev (17.0.11esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 24 17:36:12 2013 +0100 (2013-11-24)
parents 2b9f96603415
children f7728f4b0af7
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"
pascal@15201 8 LICENSE="GPL3"
erjo@1170 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@1170 10 WEB_SITE="http://bluefish.openoffice.nl/index.html"
erjo@1170 11 WGET_URL="http://www.bennewitz.com/bluefish/stable/source/${TARBALL}"
jozee@3567 12 TAGS="editor language HTML programming scripting"
erjo@1170 13
@11664 14 DEPENDS="gtk+ pcre xorg-libXdamage aspell libxml2 gcc-lib-base shared-mime-info "
@11664 15 BUILD_DEPENDS="gtk+-dev pcre-dev intltool libxml2-dev expat-dev"
@11664 16
erjo@1170 17 # Rules to configure and make the package.
erjo@1170 18 compile_rules()
erjo@1170 19 {
@11664 20 ./configure $CONFIGURE_ARGS && make && make install
erjo@1170 21 }
erjo@1170 22
erjo@1170 23 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1170 24 genpkg_rules()
erjo@1170 25 {
erjo@1170 26 mkdir -p $fs/usr $fs/usr/share/locale
@11664 27 cp -a $install/usr/bin $fs/usr
@11664 28 cp -a $install/usr/share/pixmaps $fs/usr/share
@11664 29 cp -a $install/usr/share/mime $fs/usr/share
@11664 30 cp -a $install/usr/share/bluefish $fs/usr/share
@11664 31 cp -a $install/usr/share/applications $fs/usr/share
@11664 32 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
erjo@1170 33
erjo@1170 34 }
erjo@1170 35
@11664 36 # Post-install commands
@11664 37 post_install()
@11664 38 {
pascal@12196 39 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
@11664 40 }