wok annotate cc65/receipt @ rev 14194

emacs-pkg-po-mode: tidy receipt
author Dominique Corbex <domcox@slitaz.org>
date Tue Mar 12 23:05:24 2013 +0100 (2013-03-12)
parents 8e3f0809c0c3
children 48d3d669a814
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@13672 21 make -j 1 -f make/gcc.mak
pascal@13671 22 sed -i "s|/usr|$DESTDIR/usr|" make/gcc.mak
pascal@13672 23 make -j 1 -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 }