wok-6.x view xcircuit/receipt @ rev 11924
Up: squiduardmgr (1.6)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Mar 01 01:12:35 2012 +0100 (2012-03-01) |
parents | b7319995b37e |
children | 9c762d56b413 |
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 DEPENDS="tcl tk xorg-libXpm zlib"
9 BUILD_DEPENDS="tk-dev tcl-dev xorg-libXpm-dev xorg-libXt-dev zlib-dev automake"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WEB_SITE="http://opencircuitdesign.com/xcircuit"
12 WGET_URL="http://opencircuitdesign.com/xcircuit/archive/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src/$PACKAGE-$VERSION
18 ./configure prefix=/usr \
19 --with-tcl=/usr/lib \
20 --with-tk=/usr/lib \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib \
29 $fs/usr/share/applications \
30 $fs/usr/share/pixmaps
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/$PACKAGE-${VERSION%.*} $fs/usr/lib
33 cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications
34 cp -a $stuff/$PACKAGE.png $fs/usr/share/pixmaps
35 }