wok annotate cssed/receipt @ rev 19151
Up: slitaz-boot-scripts(432), tazpanel(592).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 23 16:34:04 2016 +0300 (2016-05-23) |
parents | 4bd37853a2dc |
children | 9af0e03b8ad0 |
rev | line source |
---|---|
pascal@11219 | 1 # SliTaz package receipt. |
pascal@11219 | 2 |
pascal@11219 | 3 PACKAGE="cssed" |
pascal@11219 | 4 VERSION="0.4.0" |
pascal@11219 | 5 CATEGORY="development" |
al@13922 | 6 SHORT_DESC="CSS editor for web developers" |
pascal@11219 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@11219 | 9 WEB_SITE="http://cssed.sourceforge.net" |
pascal@11219 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11219 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11219 | 12 |
pascal@11219 | 13 DEPENDS="gtk+" |
pascal@13830 | 14 BUILD_DEPENDS="gtk+-dev libxml2-dev" |
pascal@11219 | 15 |
pascal@11219 | 16 # Rules to configure and make the package. |
pascal@11219 | 17 compile_rules() |
pascal@11219 | 18 { |
al@13925 | 19 sed -i "s/char\* o = 0;/const char\* o = 0;/" $src/scintilla/src/LexCaml.cxx |
al@13925 | 20 ./configure $CONFIGURE_ARGS && |
al@13925 | 21 sed -i 's/^cssed_LDADD.*/\0 -lgmodule-2.0/' $src/src/Makefile && |
al@13925 | 22 make && |
pascal@11219 | 23 make install |
pascal@11219 | 24 } |
pascal@11219 | 25 |
pascal@11219 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11219 | 27 genpkg_rules() |
pascal@11219 | 28 { |
pascal@11219 | 29 mkdir -p $fs/usr/share |
pascal@11219 | 30 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pascal@11219 | 31 cp -a $install/usr/bin $fs/usr |
pascal@11219 | 32 } |