wok-6.x diff xcircuit/receipt @ rev 11505
wbekit-r: fix build
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Dec 22 13:01:39 2011 +0100 (2011-12-22) |
parents | 620e179d9d9e |
children | b7319995b37e |
line diff
1.1 --- a/xcircuit/receipt Sun Oct 10 01:18:53 2010 +0000 1.2 +++ b/xcircuit/receipt Thu Dec 22 13:01:39 2011 +0100 1.3 @@ -6,7 +6,7 @@ 1.4 SHORT_DESC="A program for drawing publishable-quality electrical circuit schematic diagrams" 1.5 MAINTAINER="slaxemulator@gmail.com" 1.6 DEPENDS="tcl tk xorg-libXpm zlib" 1.7 -BUILD_DEPENDS="tk-dev tcl-dev xorg-libXpm-dev xorg-libXt-dev xorg-dev-proto zlib-dev automake" 1.8 +BUILD_DEPENDS="tk-dev tcl-dev xorg-libXpm-dev xorg-libXt-dev zlib-dev automake" 1.9 TARBALL="$PACKAGE-$VERSION.tgz" 1.10 WEB_SITE="http://opencircuitdesign.com/xcircuit" 1.11 WGET_URL="http://opencircuitdesign.com/xcircuit/archive/$TARBALL" 1.12 @@ -14,14 +14,12 @@ 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 - cd $src 1.17 + cd $src/$PACKAGE-$VERSION 1.18 sed -i 's|am__api_version="1.9"|am__api_version="1.11"|' configure 1.19 ./configure prefix=/usr \ 1.20 --with-tcl=/usr/lib \ 1.21 - --with-tk=/usr/lib \ 1.22 - --mandir=/usr/share/man \ 1.23 - $CONFIGURE_ARGS && 1.24 - make && make DESTDIR=$PWD/_pkg install 1.25 + --with-tk=/usr/lib && 1.26 + make && make DESTDIR=$DESTDIR install 1.27 } 1.28 1.29 # Rules to gen a SliTaz package suitable for Tazpkg.