wok-current view bluefish/receipt @ rev 15928

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