# SliTaz package receipt. PACKAGE="bluefish" VERSION="2.0.3" CATEGORY="development" SHORT_DESC="A powerful editor" MAINTAINER="erjo@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://bluefish.openoffice.nl/index.html" WGET_URL="http://www.bennewitz.com/bluefish/stable/source/${TARBALL}" TAGS="editor language HTML programming scripting" DEPENDS="gtk+ pcre xorg-libXdamage aspell libxml2 gcc-lib-base shared-mime-info " BUILD_DEPENDS="gtk+-dev pcre-dev intltool libxml2-dev expat-dev" # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr $fs/usr/share/locale cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/pixmaps $fs/usr/share cp -a $install/usr/share/mime $fs/usr/share cp -a $install/usr/share/bluefish $fs/usr/share cp -a $install/usr/share/applications $fs/usr/share cp -a $install/usr/share/locale/fr $fs/usr/share/locale } # Post-install commands post_install() { chroot "$1/" /usr/bin/update-mime-database /usr/share/mime }