wok view xcircuit/receipt @ rev 22926
Up jp2a (1.0.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 26 12:40:52 2020 +0100 (2020-02-26) |
parents | c89ebe633ac5 |
children | 162ce5a95e8f |
line source
1 # SliTaz package receipt.
3 PACKAGE="xcircuit"
4 VERSION="3.10.12"
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 WEB_SITE="http://opencircuitdesign.com/xcircuit/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="${WEB_SITE}archive/$TARBALL"
14 DEPENDS="cairo tcl tk xorg-libXpm zlib"
15 BUILD_DEPENDS="automake cairo-dev tcl-dev tk-dev xorg-libXpm-dev xorg-libXt-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --with-tcl=/usr/lib \
23 --with-tk=/usr/lib \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/$PACKAGE-${VERSION%.*} $fs/usr/lib
36 }