wok-6.x annotate mspdebug/receipt @ rev 24933
updated muparser and muparser-dev (2.2.6.1 -> 2.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 13 17:29:40 2022 +0100 (2022-04-13) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@11215 | 1 # SliTaz package receipt. |
pascal@11215 | 2 |
pascal@11215 | 3 PACKAGE="mspdebug" |
Hans-G?nter@21493 | 4 VERSION="0.25" |
pascal@11215 | 5 CATEGORY="development" |
Hans-G?nter@21493 | 6 SHORT_DESC="Free debugger for use with MSP430 MCUs." |
pascal@11215 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15583 | 8 LICENSE="GPL2" |
Hans-G?nter@21493 | 9 WEB_SITE="https://dlbeer.co.nz/mspdebug/" |
Hans-G?nter@21493 | 10 |
pascal@11215 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21493 | 12 WGET_URL="https://github.com/dlbeer/$PACKAGE/archive/v$VERSION.tar.gz" |
pascal@11215 | 13 |
pascal@11215 | 14 DEPENDS="libusb-compat" |
pascal@11215 | 15 BUILD_DEPENDS="libusb-compat-dev" |
pascal@11215 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@11215 | 23 # Rules to configure and make the package. |
pascal@11215 | 24 compile_rules() |
pascal@11215 | 25 { |
pascal@11215 | 26 sed -i 's|/usr/local|/usr|' Makefile |
Hans-G?nter@21493 | 27 export WITHOUT_READLINE=1 |
Hans-G?nter@21493 | 28 |
Hans-G?nter@21493 | 29 make && |
pascal@15583 | 30 make DESTDIR=$DESTDIR install |
pascal@11215 | 31 } |
pascal@11215 | 32 |
pascal@11215 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11215 | 34 genpkg_rules() |
pascal@11215 | 35 { |
pascal@15583 | 36 cp -a $install/* $fs |
pascal@11215 | 37 } |