wok view qcad/receipt @ rev 24838

updated libtirpc and libtirpc-dev (1.2.5 -> 1.3.2)
author Hans-G?nter Theisgen
date Fri Mar 25 07:49:01 2022 +0100 (2022-03-25)
parents 35739426d4fb
children 77ec99338524
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="http://www.qcad.org"
11 WGET_URL="http://www.qcad.org/archives/qcad/${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 }