wok view qcad/receipt @ rev 25776
Update thunderbird to 68.12.1 latest ESR work with old glibc, and block autoupdate
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Sep 16 17:28:27 2024 +0200 (8 weeks ago) |
parents | e685e7c4c950 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="qcad"
4 VERSION="3.7.5"
5 CATEGORY="network"
6 SHORT_DESC="The Open Source CAD System For Everyone."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="${PACKAGE}-${VERSION}-linux-x86_32.tar.gz"
10 WEB_SITE="https://github.com/qcad/qcad"
11 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
12 HOST_ARCH="i486"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://github.com/qcad/qcad/tags 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 mkdir -p \
25 ${install}/usr/bin \
26 ${install}/usr/lib/${PACKAGE} \
27 ${install}/usr/share/pixmaps
28 cp -a ${src}/* ${install}/usr/lib/${PACKAGE}
29 # /usr/bin/qcad + pixmap
30 install -m 0755 ${stuff}/qcad ${install}/usr/bin/qcad
31 ln -s ../../lib/qcad/qcad_icon.png \
32 ${install}/usr/share/pixmaps/${PACKAGE}.png
33 # We use our packed deps
34 echo "Cleaning installed files..."
35 cd ${install}/usr/lib/${PACKAGE}
36 rm qcad
37 rm -rf examples/
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p ${fs} && cp -a ${install}/* ${fs}
44 }