wok view bluefish/receipt @ rev 12086

osmo: Make sure /usr folder exist before copying /usr/bin folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Mar 09 21:48:21 2012 -0500 (2012-03-09)
parents 4429f0f317ef
children 0a6b5118575a
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://bluefish.openoffice.nl/index.html"
10 WGET_URL="http://www.bennewitz.com/bluefish/stable/source/${TARBALL}"
11 TAGS="editor language HTML programming scripting"
13 DEPENDS="gtk+ pcre xorg-libXdamage aspell libxml2 gcc-lib-base shared-mime-info "
14 BUILD_DEPENDS="gtk+-dev pcre-dev intltool libxml2-dev expat-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure $CONFIGURE_ARGS && make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr $fs/usr/share/locale
26 cp -a $install/usr/bin $fs/usr
27 cp -a $install/usr/share/pixmaps $fs/usr/share
28 cp -a $install/usr/share/mime $fs/usr/share
29 cp -a $install/usr/share/bluefish $fs/usr/share
30 cp -a $install/usr/share/applications $fs/usr/share
31 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
33 }
35 # Post-install commands
36 post_install()
37 {
38 $1/usr/bin/update-mime-database $1/usr/share/mime || continue
39 }