wok-current view xcircuit/receipt @ rev 15960

Up: tazpanel (1.8)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Feb 24 01:10:12 2014 +0100 (2014-02-24)
parents 9c762d56b413
children c89ebe633ac5
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 }