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@15604
|
8 LICENSE="other"
|
pascal@13671
|
9 WEB_SITE="http://www.cc65.org"
|
pascal@13671
|
10 TARBALL="$PACKAGE-sources-$VERSION.tar.bz2"
|
pascal@13671
|
11 WGET_URL="ftp://ftp.musoftware.de/pub/uz/$PACKAGE/$TARBALL"
|
pascal@13671
|
12
|
pascal@13671
|
13 DEPENDS=""
|
pascal@13671
|
14 BUILD_DEPENDS=""
|
pascal@13671
|
15
|
pascal@13671
|
16 # Rules to configure and make the package.
|
pascal@13671
|
17 compile_rules()
|
pascal@13671
|
18 {
|
pascal@13671
|
19 cd $src
|
pascal@13671
|
20 mkdir -p $DESTDIR/usr
|
pascal@13671
|
21 sed -i "s|/usr/local|/usr|" make/gcc.mak
|
pascal@13672
|
22 make -j 1 -f make/gcc.mak
|
pascal@13671
|
23 sed -i "s|/usr|$DESTDIR/usr|" make/gcc.mak
|
pascal@13672
|
24 make -j 1 -f make/gcc.mak install
|
pascal@13671
|
25 }
|
pascal@13671
|
26
|
pascal@13671
|
27 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pascal@13671
|
28 genpkg_rules()
|
pascal@13671
|
29 {
|
pascal@13671
|
30 cp -a $install/* $fs
|
pascal@13671
|
31 }
|