wok view xcircuit/receipt @ rev 22017

xcircuit: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 19 18:20:40 2019 +0200 (2019-10-19)
parents eb8067417980
children 6aff6b383295
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 ./configure prefix=/usr \
20 --with-tcl=/usr/lib \
21 --with-tk=/usr/lib \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/$PACKAGE-${VERSION%.*} $fs/usr/lib
32 }