wok-current view cc65/receipt @ rev 24287
updated smtube (20.1.0 -> 21.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 13 14:17:04 2022 +0100 (2022-01-13) |
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 }