wok-current annotate xcircuit/receipt @ rev 12045
swat: fixed desktop file and added new icon
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Mar 07 13:45:17 2012 -0800 (2012-03-07) |
parents | b7319995b37e |
children | 9c762d56b413 |
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" |
slaxemulator@6621 | 8 DEPENDS="tcl tk xorg-libXpm zlib" |
slaxemulator@8959 | 9 BUILD_DEPENDS="tk-dev tcl-dev xorg-libXpm-dev xorg-libXt-dev zlib-dev automake" |
slaxemulator@6621 | 10 TARBALL="$PACKAGE-$VERSION.tgz" |
slaxemulator@6621 | 11 WEB_SITE="http://opencircuitdesign.com/xcircuit" |
slaxemulator@6621 | 12 WGET_URL="http://opencircuitdesign.com/xcircuit/archive/$TARBALL" |
slaxemulator@6621 | 13 |
slaxemulator@6621 | 14 # Rules to configure and make the package. |
slaxemulator@6621 | 15 compile_rules() |
slaxemulator@6621 | 16 { |
slaxemulator@8959 | 17 cd $src/$PACKAGE-$VERSION |
slaxemulator@6621 | 18 ./configure prefix=/usr \ |
slaxemulator@6621 | 19 --with-tcl=/usr/lib \ |
gokhlayeh@11573 | 20 --with-tk=/usr/lib \ |
gokhlayeh@11573 | 21 $CONFIGURE_ARGS && |
slaxemulator@8959 | 22 make && make DESTDIR=$DESTDIR install |
slaxemulator@6621 | 23 } |
slaxemulator@6621 | 24 |
slaxemulator@6621 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6621 | 26 genpkg_rules() |
slaxemulator@6621 | 27 { |
samuel_trassare@11889 | 28 mkdir -p $fs/usr/lib \ |
samuel_trassare@11889 | 29 $fs/usr/share/applications \ |
samuel_trassare@11889 | 30 $fs/usr/share/pixmaps |
slaxemulator@6621 | 31 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6621 | 32 cp -a $_pkg/usr/lib/$PACKAGE-${VERSION%.*} $fs/usr/lib |
samuel_trassare@11889 | 33 cp -a $stuff/$PACKAGE.desktop $fs/usr/share/applications |
samuel_trassare@11889 | 34 cp -a $stuff/$PACKAGE.png $fs/usr/share/pixmaps |
slaxemulator@6621 | 35 } |
slaxemulator@6621 | 36 |