wok-current annotate xcircuit/receipt @ rev 8170
imported patch toolchain/automake.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:49 2011 +0100 (2011-01-27) |
parents | |
children | d8ff3547600c |
rev | line source |
---|---|
slaxemulator@6621 | 1 # SliTaz package receipt. |
slaxemulator@6621 | 2 |
slaxemulator@6621 | 3 PACKAGE="xcircuit" |
slaxemulator@6621 | 4 VERSION="3.6.163" |
slaxemulator@6621 | 5 CATEGORY="graphics" |
slaxemulator@6621 | 6 SHORT_DESC="A program for drawing publishable-quality electrical circuit schematic diagrams" |
slaxemulator@6621 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@6621 | 8 DEPENDS="tcl tk xorg-libXpm zlib" |
slaxemulator@6621 | 9 BUILD_DEPENDS="tk-dev tcl-dev xorg-libXpm-dev xorg-libXt-dev xorg-dev-proto zlib-dev automake" |
slaxemulator@6621 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
slaxemulator@6621 | 11 WEB_SITE="http://opencircuitdesign.com/xcircuit" |
slaxemulator@6621 | 12 WGET_URL="http://opencircuitdesign.com/xcircuit/archive/$TARBALL" |
slaxemulator@6621 | 13 |
slaxemulator@6621 | 14 # Rules to configure and make the package. |
slaxemulator@6621 | 15 compile_rules() |
slaxemulator@6621 | 16 { |
slaxemulator@6621 | 17 cd $src |
slaxemulator@6621 | 18 sed -i 's|am__api_version="1.9"|am__api_version="1.11"|' configure |
slaxemulator@6621 | 19 ./configure prefix=/usr \ |
slaxemulator@6621 | 20 --with-tcl=/usr/lib \ |
slaxemulator@6621 | 21 --with-tk=/usr/lib \ |
slaxemulator@6621 | 22 --mandir=/usr/share/man \ |
slaxemulator@6621 | 23 $CONFIGURE_ARGS && |
slaxemulator@6621 | 24 make && make DESTDIR=$PWD/_pkg install |
slaxemulator@6621 | 25 } |
slaxemulator@6621 | 26 |
slaxemulator@6621 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6621 | 28 genpkg_rules() |
slaxemulator@6621 | 29 { |
slaxemulator@6621 | 30 mkdir -p $fs/usr/lib |
slaxemulator@6621 | 31 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6621 | 32 cp -a $_pkg/usr/lib/$PACKAGE-${VERSION%.*} $fs/usr/lib |
slaxemulator@6621 | 33 } |
slaxemulator@6621 | 34 |