wok-6.x annotate xcircuit/receipt @ rev 22577
updated cabextract (1.9 -> 1.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 06 16:52:55 2020 +0100 (2020-01-06) |
parents | c89ebe633ac5 |
children | 162ce5a95e8f |
rev | line source |
---|---|
slaxemulator@6621 | 1 # SliTaz package receipt. |
slaxemulator@6621 | 2 |
slaxemulator@6621 | 3 PACKAGE="xcircuit" |
Hans-G?nter@22018 | 4 VERSION="3.10.12" |
slaxemulator@6621 | 5 CATEGORY="graphics" |
Hans-G?nter@22018 | 6 SHORT_DESC="A program for drawing publishable-quality electrical circuit schematic diagrams." |
slaxemulator@6621 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15579 | 8 LICENSE="GPL2" |
Hans-G?nter@22018 | 9 WEB_SITE="http://opencircuitdesign.com/xcircuit/" |
Hans-G?nter@22018 | 10 |
slaxemulator@6621 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
Hans-G?nter@22018 | 12 WGET_URL="${WEB_SITE}archive/$TARBALL" |
slaxemulator@6621 | 13 |
Hans-G?nter@22018 | 14 DEPENDS="cairo tcl tk xorg-libXpm zlib" |
Hans-G?nter@22018 | 15 BUILD_DEPENDS="automake cairo-dev tcl-dev tk-dev xorg-libXpm-dev xorg-libXt-dev zlib-dev" |
pascal@15579 | 16 |
slaxemulator@6621 | 17 # Rules to configure and make the package. |
slaxemulator@6621 | 18 compile_rules() |
slaxemulator@6621 | 19 { |
Hans-G?nter@22018 | 20 ./configure \ |
Hans-G?nter@22018 | 21 --prefix=/usr \ |
Hans-G?nter@22018 | 22 --with-tcl=/usr/lib \ |
Hans-G?nter@22018 | 23 --with-tk=/usr/lib \ |
gokhlayeh@11573 | 24 $CONFIGURE_ARGS && |
Hans-G?nter@22018 | 25 make && |
Hans-G?nter@22018 | 26 make DESTDIR=$DESTDIR install |
slaxemulator@6621 | 27 } |
slaxemulator@6621 | 28 |
slaxemulator@6621 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6621 | 30 genpkg_rules() |
slaxemulator@6621 | 31 { |
samuel_trassare@12057 | 32 mkdir -p $fs/usr/lib |
Hans-G?nter@22018 | 33 |
Hans-G?nter@22018 | 34 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22018 | 35 cp -a $install/usr/lib/$PACKAGE-${VERSION%.*} $fs/usr/lib |
slaxemulator@6621 | 36 } |