wok-next diff xcircuit/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents eb8067417980
children d457c4e37c1b
line diff
     1.1 --- a/xcircuit/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.2 +++ b/xcircuit/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -3,31 +3,30 @@
     1.4  PACKAGE="xcircuit"
     1.5  VERSION="3.7.32"
     1.6  CATEGORY="graphics"
     1.7 -SHORT_DESC="A program for drawing publishable-quality electrical circuit schematic diagrams"
     1.8 -MAINTAINER="slaxemulator@gmail.com"
     1.9 +SHORT_DESC="Drawing publishable-quality electrical circuit schematic diagrams"
    1.10 +MAINTAINER="devel@slitaz.org"
    1.11  LICENSE="GPL2"
    1.12 +WEB_SITE="http://opencircuitdesign.com/xcircuit"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tgz"
    1.15 -WEB_SITE="http://opencircuitdesign.com/xcircuit"
    1.16  WGET_URL="http://opencircuitdesign.com/xcircuit/archive/$TARBALL"
    1.17  
    1.18 -DEPENDS="tcl tk xorg-libXpm zlib"
    1.19  BUILD_DEPENDS="tk-dev tcl-dev xorg-libXpm-dev xorg-libXt-dev zlib-dev automake"
    1.20  
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 +compile_rules() {
    1.25  	cd $src/$PACKAGE-$VERSION
    1.26 -	./configure prefix=/usr \
    1.27 +	./configure \
    1.28 +		prefix=/usr \
    1.29  		--with-tcl=/usr/lib \
    1.30  		--with-tk=/usr/lib \
    1.31  		$CONFIGURE_ARGS &&
    1.32 -	make && make DESTDIR=$DESTDIR install
    1.33 +	make &&
    1.34 +	make DESTDIR=$install install
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 +genpkg_rules() {
    1.41  	mkdir -p $fs/usr/lib
    1.42  	cp -a $install/usr/bin $fs/usr
    1.43  	cp -a $install/usr/lib/$PACKAGE-${VERSION%.*} $fs/usr/lib
    1.44 +	DEPENDS="tcl tk xorg-libXpm zlib"
    1.45  }