Receipt for: bluefish
source
PACKAGE="bluefish"
VERSION="2.2.12"
CATEGORY="development"
TAGS="text-editor language HTML programming scripting"
SHORT_DESC="A powerful editor."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://bluefish.openoffice.nl/index.html"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://www.bennewitz.com/$PACKAGE/stable/source/$TARBALL"
SUGGESTED="bluefish-lang"
DEPENDS="aspell gtk+ libxml2 pcre shared-mime-info xorg-libXdamage"
BUILD_DEPENDS="expat-dev gtk+-dev intltool libxml2-dev pcre-dev libpng+apng-dev"
current_version()
{
wget -O - $WEB_SITE 2>/dev/null | \
sed '/[0-9] release/!d;s|.*Bluefish ||;s| release.*||;q'
}
compile_rules()
{
./configure $CONFIGURE_ARGS &&
make &&
make install
}
genpkg_rules()
{
mkdir -p $fs/usr/share
cp -a $install/usr/bin $fs/usr
cp -a $install/usr/share/pixmaps $fs/usr/share
cp -a $install/usr/share/bluefish $fs/usr/share
cp -a $install/usr/share/applications $fs/usr/share
}