wok-6.x diff sdcc/receipt @ rev 11412
Up: postgresql to 9.1.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Dec 10 21:31:55 2011 +0000 (2011-12-10) |
parents | |
children | 7a6c21322e85 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/sdcc/receipt Sat Dec 10 21:31:55 2011 +0000 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="sdcc" 1.7 +VERSION="2.9.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Retargettable C compiler for 8051, Z80 and 68HC08." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-src-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://sdcc.sourceforge.net/" 1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" 1.14 +TAGS="cross compiler" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + mv $PACKAGE $src 2> /dev/null 1.20 + cd $src 1.21 + sed -i 's/all %/%/' device/lib/pic/Makefile.in 1.22 + find -name getline.h | xargs sed -i \ 1.23 + 's/char.*getline/#define getline sdcc_getline\nchar *sdcc_getline/' 1.24 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.25 + --mandir=/usr/share/man \ 1.26 + $CONFIGURE_ARGS && 1.27 + make && 1.28 + make DESTDIR=$PWD/_pkg install 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + cp -a $_pkg/usr $fs 1.35 +} 1.36 +