wok-next annotate mspdebug/receipt @ rev 12298
Modify extension in TARBALL and SOURCE name
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Apr 16 12:23:25 2012 +0200 (2012-04-16) |
parents | |
children | bb009a6ef036 |
rev | line source |
---|---|
pascal@11215 | 1 # SliTaz package receipt. |
pascal@11215 | 2 |
pascal@11215 | 3 PACKAGE="mspdebug" |
pascal@11215 | 4 VERSION="0.17" |
pascal@11215 | 5 CATEGORY="development" |
pascal@11215 | 6 SHORT_DESC="free debugger for use with MSP430 MCUs." |
pascal@11215 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11215 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11215 | 9 WEB_SITE="http://$PACKAGE.sourceforge.net/" |
pascal@11215 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11215 | 11 |
pascal@11215 | 12 DEPENDS="libusb-compat" |
pascal@11215 | 13 BUILD_DEPENDS="libusb-compat-dev" |
pascal@11215 | 14 |
pascal@11215 | 15 # Rules to configure and make the package. |
pascal@11215 | 16 compile_rules() |
pascal@11215 | 17 { |
pascal@11215 | 18 cd $src |
pascal@11215 | 19 sed -i 's|/usr/local|/usr|' Makefile |
pascal@11215 | 20 make WITHOUT_READLINE=1 && |
pascal@11215 | 21 make DESTDIR=$PWD/_pkg install |
pascal@11215 | 22 } |
pascal@11215 | 23 |
pascal@11215 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11215 | 25 genpkg_rules() |
pascal@11215 | 26 { |
pascal@11215 | 27 cp -a $_pkg/* $fs |
pascal@11215 | 28 } |