wok-current view cc65/receipt @ rev 14794

catfish: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 08 20:42:48 2013 +0000 (2013-07-08)
parents 8e3f0809c0c3
children 48d3d669a814
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 -j 1 -f make/gcc.mak
22 sed -i "s|/usr|$DESTDIR/usr|" make/gcc.mak
23 make -j 1 -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 }