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