wok-next annotate cssed/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 380ffe05937a
children
rev   line source
al@21017 1 # SliTaz package receipt v2.
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"
al@21017 9 WEB_SITE="http://cssed.sourceforge.net/"
al@21017 10
pascal@11219 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11219 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11219 13
al@21017 14 BUILD_DEPENDS="gtk2-dev libxml2-dev"
pascal@11219 15
al@21017 16 compile_rules() {
al@13925 17 sed -i "s/char\* o = 0;/const char\* o = 0;/" $src/scintilla/src/LexCaml.cxx
al@21017 18
al@13925 19 ./configure $CONFIGURE_ARGS &&
al@13925 20 sed -i 's/^cssed_LDADD.*/\0 -lgmodule-2.0/' $src/src/Makefile &&
al@13925 21 make &&
pascal@11219 22 make install
pascal@11219 23 }
pascal@11219 24
al@21017 25 genpkg_rules() {
al@21017 26 copy @std
al@21017 27 DEPENDS="gtk2"
pascal@11219 28 }