wok-6.x view cssed/receipt @ rev 11906

squid: Improve package
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Feb 29 22:08:35 2012 +0100 (2012-02-29)
parents
children 08318790553b
line source
1 # SliTaz package receipt.
3 PACKAGE="cssed"
4 VERSION="0.4.0"
5 CATEGORY="development"
6 SHORT_DESC="A GTK-2 CSS editor"
7 MAINTAINER="claudinei@slitaz.org"
8 WEB_SITE="http://cssed.sourceforge.net"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="gtk+"
13 BUILD_DEPENDS="gtk+"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i "s/char\* o = 0;/const char\* o = 0;/" $src/scintilla/src/LexCaml.cxx
19 ./configure $CONFIGURE_ARGS &&
20 make &&
21 make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $install/usr/share/$PACKAGE $fs/usr/share
29 cp -a $install/usr/bin $fs/usr
30 }