wok view cc65/receipt @ rev 25609
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 20 14:03:05 2023 +0000 (16 months ago) |
parents | 351381d7a506 |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/V*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # mkdir -p $DESTDIR/usr
28 # sed -i "s|/usr/local|/usr|" make/gcc.mak
29 # make -j 1 -f make/gcc.mak
30 # sed -i "s|/usr|$DESTDIR/usr|" make/gcc.mak
31 # make -j 1 -f make/gcc.mak install
32 # cook_pick_manpages packages/debian/*.1
34 make &&
35 make install PREFIX=/usr
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/* $fs
42 }