wok view cssed/receipt @ rev 21874
facter: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 11:31:06 2019 +0200 (2019-09-28) |
parents | 4bd37853a2dc |
children | 9af0e03b8ad0 |
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i "s/char\* o = 0;/const char\* o = 0;/" $src/scintilla/src/LexCaml.cxx
20 ./configure $CONFIGURE_ARGS &&
21 sed -i 's/^cssed_LDADD.*/\0 -lgmodule-2.0/' $src/src/Makefile &&
22 make &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $install/usr/share/$PACKAGE $fs/usr/share
31 cp -a $install/usr/bin $fs/usr
32 }