wok-6.x view cc65/receipt @ rev 24185
updated perl-common-sense (3.74 -> 3.75)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:04:57 2021 +0100 (2021-12-31) |
parents | fe1cff2f26ab |
children | 351381d7a506 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cc65"
4 VERSION="2.18"
5 CATEGORY="development"
6 SHORT_DESC="Cross development package for 65(C)02 systems."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="https://www.cc65.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/V$VERSION.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/V\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # mkdir -p $DESTDIR/usr
27 # sed -i "s|/usr/local|/usr|" make/gcc.mak
28 # make -j 1 -f make/gcc.mak
29 # sed -i "s|/usr|$DESTDIR/usr|" make/gcc.mak
30 # make -j 1 -f make/gcc.mak install
31 # cook_pick_manpages packages/debian/*.1
33 make &&
34 make install PREFIX=/usr
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 }