wok-current annotate qcad/receipt @ rev 22732
updated desktop-file-utils and desktop-file-utils-extra (0.23 -> 0.24)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 23 16:42:28 2020 +0100 (2020-01-23) |
parents | 9e01bc6321ea |
children | d7522d21c4d3 |
rev | line source |
---|---|
pankso@17448 | 1 # SliTaz package receipt. |
pankso@17448 | 2 |
pankso@17448 | 3 PACKAGE="qcad" |
pankso@17448 | 4 VERSION="3.7.5" |
pankso@17448 | 5 CATEGORY="network" |
pankso@17448 | 6 SHORT_DESC="The Open Source CAD System For Everyone." |
pankso@17448 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@17448 | 8 LICENSE="GPL3" |
pankso@17448 | 9 TARBALL="${PACKAGE}-${VERSION}-linux-x86_32.tar.gz" |
pankso@17448 | 10 WEB_SITE="http://www.qcad.org" |
pankso@17448 | 11 WGET_URL="http://www.qcad.org/archives/qcad/${TARBALL}" |
pankso@17448 | 12 HOST_ARCH="i486" |
pankso@17448 | 13 |
pankso@17448 | 14 # Rules to configure and make the package. |
pankso@17448 | 15 compile_rules() |
pankso@17448 | 16 { |
pankso@17448 | 17 mkdir -p \ |
pankso@17448 | 18 ${install}/usr/bin \ |
pankso@17448 | 19 ${install}/usr/lib/${PACKAGE} \ |
pankso@17448 | 20 ${install}/usr/share/pixmaps |
pankso@17448 | 21 cp -a ${src}/* ${install}/usr/lib/${PACKAGE} |
pankso@17448 | 22 # /usr/bin/qcad + pixmap |
pankso@17448 | 23 install -m 0755 ${stuff}/qcad ${install}/usr/bin/qcad |
pankso@17448 | 24 ln -s ../../lib/qcad/qcad_icon.png \ |
pankso@17448 | 25 ${install}/usr/share/pixmaps/${PACKAGE}.png |
pankso@17448 | 26 # We use our packed deps |
pankso@17448 | 27 echo "Cleaning installed files..." |
pankso@17448 | 28 cd ${install}/usr/lib/${PACKAGE} |
pascal@20577 | 29 rm qcad |
pankso@17448 | 30 rm -rf examples/ |
pankso@17448 | 31 } |
pankso@17448 | 32 |
pankso@17448 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@17448 | 34 genpkg_rules() |
pankso@17448 | 35 { |
pankso@17448 | 36 mkdir -p ${fs} && cp -a ${install}/* ${fs} |
pankso@17448 | 37 } |