wok view cssed/receipt @ rev 20169
Add linux-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 16 11:15:42 2018 +0100 (2018-01-16) |
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 }