wok rev 13671
Add cc65
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 24 16:45:35 2012 +0100 (2012-11-24) |
parents | eae61bd19517 |
children | 773fc7517d59 |
files | cc65/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cc65/receipt Sat Nov 24 16:45:35 2012 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cc65" 1.7 +VERSION="2.13.3" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Cross development package for 65(C)02 systems." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://www.cc65.org" 1.12 +TARBALL="$PACKAGE-sources-$VERSION.tar.bz2" 1.13 +WGET_URL="ftp://ftp.musoftware.de/pub/uz/$PACKAGE/$TARBALL" 1.14 + 1.15 +DEPENDS="" 1.16 +BUILD_DEPENDS="" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + mkdir -p $DESTDIR/usr 1.23 + sed -i "s|/usr/local|/usr|" make/gcc.mak 1.24 + make -f make/gcc.mak 1.25 + sed -i "s|/usr|$DESTDIR/usr|" make/gcc.mak 1.26 + make -f make/gcc.mak install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + cp -a $install/* $fs 1.33 +}