wok-6.x view xcircuit/receipt @ rev 24142
linux-aufs: git checkout problem ?
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 15 08:46:59 2021 +0000 (2021-11-15) |
parents | 6aff6b383295 |
children | 2a0479881723 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xcircuit"
4 VERSION="3.10.24"
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 }