wok-6.x view cc65/receipt @ rev 24669
updated inxi (3.0.37 -> 3.3.13)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 16:49:52 2022 +0100 (2022-03-11) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="cc65"
4 VERSION="2.19"
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://cc65.github.io"
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 }