wok-next diff 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
line diff
     1.1 --- a/cssed/receipt	Sat Aug 10 17:00:38 2013 +0000
     1.2 +++ b/cssed/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="cssed"
     1.8  VERSION="0.4.0"
     1.9 @@ -6,27 +6,23 @@
    1.10  SHORT_DESC="CSS editor for web developers"
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -WEB_SITE="http://cssed.sourceforge.net"
    1.14 +WEB_SITE="http://cssed.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19 -DEPENDS="gtk+"
    1.20 -BUILD_DEPENDS="gtk+-dev libxml2-dev"
    1.21 +BUILD_DEPENDS="gtk2-dev libxml2-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	sed -i "s/char\* o = 0;/const char\* o = 0;/" $src/scintilla/src/LexCaml.cxx
    1.28 +
    1.29  	./configure $CONFIGURE_ARGS &&
    1.30  	sed -i 's/^cssed_LDADD.*/\0 -lgmodule-2.0/' $src/src/Makefile &&
    1.31  	make &&
    1.32  	make install
    1.33  }
    1.34  
    1.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 -genpkg_rules()
    1.37 -{
    1.38 -	mkdir -p $fs/usr/share
    1.39 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.40 -	cp -a $install/usr/bin $fs/usr
    1.41 +genpkg_rules() {
    1.42 +	copy @std
    1.43 +	DEPENDS="gtk2"
    1.44  }