wok annotate xcircuit/receipt @ rev 21085
updated john again (1.7.8 -> 1.8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 15 14:47:39 2019 +0100 (2019-03-15) |
parents | 9c762d56b413 |
children | c89ebe633ac5 |
rev | line source |
---|---|
slaxemulator@6621 | 1 # SliTaz package receipt. |
slaxemulator@6621 | 2 |
slaxemulator@6621 | 3 PACKAGE="xcircuit" |
samuel_trassare@11889 | 4 VERSION="3.7.32" |
slaxemulator@6621 | 5 CATEGORY="graphics" |
slaxemulator@6621 | 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" |
slaxemulator@6621 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
slaxemulator@6621 | 10 WEB_SITE="http://opencircuitdesign.com/xcircuit" |
slaxemulator@6621 | 11 WGET_URL="http://opencircuitdesign.com/xcircuit/archive/$TARBALL" |
slaxemulator@6621 | 12 |
pascal@15579 | 13 DEPENDS="tcl tk xorg-libXpm zlib" |
pascal@15579 | 14 BUILD_DEPENDS="tk-dev tcl-dev xorg-libXpm-dev xorg-libXt-dev zlib-dev automake" |
pascal@15579 | 15 |
slaxemulator@6621 | 16 # Rules to configure and make the package. |
slaxemulator@6621 | 17 compile_rules() |
slaxemulator@6621 | 18 { |
slaxemulator@8959 | 19 cd $src/$PACKAGE-$VERSION |
slaxemulator@6621 | 20 ./configure prefix=/usr \ |
slaxemulator@6621 | 21 --with-tcl=/usr/lib \ |
gokhlayeh@11573 | 22 --with-tk=/usr/lib \ |
gokhlayeh@11573 | 23 $CONFIGURE_ARGS && |
slaxemulator@8959 | 24 make && make DESTDIR=$DESTDIR install |
slaxemulator@6621 | 25 } |
slaxemulator@6621 | 26 |
slaxemulator@6621 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6621 | 28 genpkg_rules() |
slaxemulator@6621 | 29 { |
samuel_trassare@12057 | 30 mkdir -p $fs/usr/lib |
pascal@15579 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15579 | 32 cp -a $install/usr/lib/$PACKAGE-${VERSION%.*} $fs/usr/lib |
slaxemulator@6621 | 33 } |