wok-current annotate bluefish/receipt @ rev 11664
bluefish: Improve receipt. Thanks Justine
author | Eric Joseph-Alexandre < erjo@slitaz.org> |
---|---|
date | Thu Feb 16 13:29:02 2012 +0100 (2012-02-16) |
parents | 4429f0f317ef |
children | 0a6b5118575a |
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" |
erjo@1170 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1170 | 9 WEB_SITE="http://bluefish.openoffice.nl/index.html" |
erjo@1170 | 10 WGET_URL="http://www.bennewitz.com/bluefish/stable/source/${TARBALL}" |
jozee@3567 | 11 TAGS="editor language HTML programming scripting" |
erjo@1170 | 12 |
@11664 | 13 DEPENDS="gtk+ pcre xorg-libXdamage aspell libxml2 gcc-lib-base shared-mime-info " |
@11664 | 14 BUILD_DEPENDS="gtk+-dev pcre-dev intltool libxml2-dev expat-dev" |
@11664 | 15 |
erjo@1170 | 16 # Rules to configure and make the package. |
erjo@1170 | 17 compile_rules() |
erjo@1170 | 18 { |
@11664 | 19 ./configure $CONFIGURE_ARGS && make && make install |
erjo@1170 | 20 } |
erjo@1170 | 21 |
erjo@1170 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1170 | 23 genpkg_rules() |
erjo@1170 | 24 { |
erjo@1170 | 25 mkdir -p $fs/usr $fs/usr/share/locale |
@11664 | 26 cp -a $install/usr/bin $fs/usr |
@11664 | 27 cp -a $install/usr/share/pixmaps $fs/usr/share |
@11664 | 28 cp -a $install/usr/share/mime $fs/usr/share |
@11664 | 29 cp -a $install/usr/share/bluefish $fs/usr/share |
@11664 | 30 cp -a $install/usr/share/applications $fs/usr/share |
@11664 | 31 cp -a $install/usr/share/locale/fr $fs/usr/share/locale |
erjo@1170 | 32 |
erjo@1170 | 33 } |
erjo@1170 | 34 |
@11664 | 35 # Post-install commands |
@11664 | 36 post_install() |
@11664 | 37 { |
@11664 | 38 $1/usr/bin/update-mime-database $1/usr/share/mime || continue |
@11664 | 39 } |