wok-next view xcircuit/receipt @ rev 18876

python-erppeek: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 05 10:55:17 2016 +0100 (2016-02-05)
parents 9c762d56b413
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="xcircuit"
4 VERSION="3.7.32"
5 CATEGORY="graphics"
6 SHORT_DESC="A program for drawing publishable-quality electrical circuit schematic diagrams"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://opencircuitdesign.com/xcircuit"
11 WGET_URL="http://opencircuitdesign.com/xcircuit/archive/$TARBALL"
13 DEPENDS="tcl tk xorg-libXpm zlib"
14 BUILD_DEPENDS="tk-dev tcl-dev xorg-libXpm-dev xorg-libXt-dev zlib-dev automake"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/$PACKAGE-$VERSION
20 ./configure prefix=/usr \
21 --with-tcl=/usr/lib \
22 --with-tk=/usr/lib \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/$PACKAGE-${VERSION%.*} $fs/usr/lib
33 }