wok view cssed/receipt @ rev 25243

updated python-turbogears (1.1.1 -> 1.5.1)
author Hans-G?nter Theisgen
date Thu Jul 14 06:48:39 2022 +0100 (2022-07-14)
parents 380ffe05937a
children b0069c845544
line source
1 # SliTaz package receipt.
3 PACKAGE="cssed"
4 VERSION="0.4.0"
5 CATEGORY="development"
6 SHORT_DESC="CSS editor for web developers"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://cssed.sourceforge.net"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gtk+"
14 BUILD_DEPENDS="gtk+-dev libxml2-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/cssed/files/cssed/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/cssed/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i "s/char\* o = 0;/const char\* o = 0;/" $src/scintilla/src/LexCaml.cxx
28 ./configure $CONFIGURE_ARGS &&
29 sed -i 's/^cssed_LDADD.*/\0 -lgmodule-2.0/' $src/src/Makefile &&
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
38 cp -a $install/usr/share/$PACKAGE $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 }