wok-next view cc65/receipt @ rev 13671
Add cc65
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 24 16:45:35 2012 +0100 (2012-11-24) |
parents | |
children | 773fc7517d59 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cc65"
4 VERSION="2.13.3"
5 CATEGORY="development"
6 SHORT_DESC="Cross development package for 65(C)02 systems."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://www.cc65.org"
9 TARBALL="$PACKAGE-sources-$VERSION.tar.bz2"
10 WGET_URL="ftp://ftp.musoftware.de/pub/uz/$PACKAGE/$TARBALL"
12 DEPENDS=""
13 BUILD_DEPENDS=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mkdir -p $DESTDIR/usr
20 sed -i "s|/usr/local|/usr|" make/gcc.mak
21 make -f make/gcc.mak
22 sed -i "s|/usr|$DESTDIR/usr|" make/gcc.mak
23 make -f make/gcc.mak install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
30 }