wok-6.x annotate 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 |
rev | line source |
---|---|
pascal@13671 | 1 # SliTaz package receipt. |
pascal@13671 | 2 |
pascal@13671 | 3 PACKAGE="cc65" |
Hans-G?nter@22583 | 4 VERSION="2.18" |
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@20671 | 9 WEB_SITE="https://www.cc65.org" |
Hans-G?nter@22583 | 10 |
Hans-G?nter@22583 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22584 | 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/V$VERSION.tar.gz" |
pascal@13671 | 13 |
pascal@13671 | 14 DEPENDS="" |
pascal@13671 | 15 BUILD_DEPENDS="" |
pascal@13671 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/V\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@13671 | 23 # Rules to configure and make the package. |
pascal@13671 | 24 compile_rules() |
pascal@13671 | 25 { |
Hans-G?nter@22583 | 26 # mkdir -p $DESTDIR/usr |
Hans-G?nter@22583 | 27 # sed -i "s|/usr/local|/usr|" make/gcc.mak |
Hans-G?nter@22583 | 28 # make -j 1 -f make/gcc.mak |
Hans-G?nter@22583 | 29 # sed -i "s|/usr|$DESTDIR/usr|" make/gcc.mak |
Hans-G?nter@22583 | 30 # make -j 1 -f make/gcc.mak install |
Hans-G?nter@22583 | 31 # cook_pick_manpages packages/debian/*.1 |
al@19288 | 32 |
Hans-G?nter@22583 | 33 make && |
Hans-G?nter@22583 | 34 make install PREFIX=/usr |
pascal@13671 | 35 } |
pascal@13671 | 36 |
pascal@13671 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13671 | 38 genpkg_rules() |
pascal@13671 | 39 { |
Hans-G?nter@22583 | 40 cp -a $install/* $fs |
pascal@13671 | 41 } |