wok-current view bluefish/receipt @ rev 24383

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 06 11:51:57 2022 +0000 (2022-02-06)
parents 3d94ada036f7
children
line source
1 # SliTaz package receipt.
3 PACKAGE="bluefish"
4 VERSION="2.2.12"
5 CATEGORY="development"
6 TAGS="text-editor language HTML programming scripting"
7 SHORT_DESC="A powerful editor."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://bluefish.openoffice.nl/index.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://www.bennewitz.com/$PACKAGE/stable/source/$TARBALL"
15 SUGGESTED="bluefish-lang"
16 DEPENDS="aspell gtk+ libxml2 pcre shared-mime-info xorg-libXdamage"
17 BUILD_DEPENDS="expat-dev gtk+-dev intltool libxml2-dev pcre-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE 2>/dev/null | \
23 sed '/[0-9] release/!d;s|.*Bluefish ||;s| release.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/pixmaps $fs/usr/share
41 cp -a $install/usr/share/bluefish $fs/usr/share
42 cp -a $install/usr/share/applications $fs/usr/share
43 }