wok-6.x view xcircuit/receipt @ rev 6912

Added xorg-libfontenc to xorg-libfontenc-dev depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 21 20:57:17 2010 +0000 (2010-10-21)
parents
children d8ff3547600c
line source
1 # SliTaz package receipt.
3 PACKAGE="xcircuit"
4 VERSION="3.6.163"
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 xorg-dev-proto 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
18 sed -i 's|am__api_version="1.9"|am__api_version="1.11"|' configure
19 ./configure prefix=/usr \
20 --with-tcl=/usr/lib \
21 --with-tk=/usr/lib \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg 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 $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/$PACKAGE-${VERSION%.*} $fs/usr/lib
33 }