wok annotate qcad/receipt @ rev 25256

updated qrencode and qrencode-dev (4.0.2 -> 4.1.1)
author Hans-G?nter Theisgen
date Fri Jul 15 06:38:49 2022 +0100 (2022-07-15)
parents d7522d21c4d3
children e685e7c4c950
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"
pascal@25113 11 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
pankso@17448 12 HOST_ARCH="i486"
pankso@17448 13
pascal@24500 14 # What is the latest version available today?
pascal@24500 15 current_version()
pascal@24500 16 {
pascal@24500 17 wget -O - https://github.com/qcad/qcad/tags 2>/dev/null | \
pascal@24500 18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24500 19 }
pascal@24500 20
pankso@17448 21 # Rules to configure and make the package.
pankso@17448 22 compile_rules()
pankso@17448 23 {
pankso@17448 24 mkdir -p \
pankso@17448 25 ${install}/usr/bin \
pankso@17448 26 ${install}/usr/lib/${PACKAGE} \
pankso@17448 27 ${install}/usr/share/pixmaps
pankso@17448 28 cp -a ${src}/* ${install}/usr/lib/${PACKAGE}
pankso@17448 29 # /usr/bin/qcad + pixmap
pankso@17448 30 install -m 0755 ${stuff}/qcad ${install}/usr/bin/qcad
pankso@17448 31 ln -s ../../lib/qcad/qcad_icon.png \
pankso@17448 32 ${install}/usr/share/pixmaps/${PACKAGE}.png
pankso@17448 33 # We use our packed deps
pankso@17448 34 echo "Cleaning installed files..."
pankso@17448 35 cd ${install}/usr/lib/${PACKAGE}
pascal@20577 36 rm qcad
pankso@17448 37 rm -rf examples/
pankso@17448 38 }
pankso@17448 39
pankso@17448 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@17448 41 genpkg_rules()
pankso@17448 42 {
pankso@17448 43 mkdir -p ${fs} && cp -a ${install}/* ${fs}
pankso@17448 44 }