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