wok annotate cc65/receipt @ rev 25642
gummi 0.6.1 (seg fault with 0.6.6), fix xine-ui
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Jan 10 18:30:43 2024 +0100 (10 months ago) |
parents | 351381d7a506 |
children |
rev | line source |
---|---|
pascal@13671 | 1 # SliTaz package receipt. |
pascal@13671 | 2 |
pascal@13671 | 3 PACKAGE="cc65" |
Hans-G?nter@24397 | 4 VERSION="2.19" |
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" |
Hans-G?nter@24397 | 9 WEB_SITE="https://cc65.github.io" |
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@25598 | 17 # What is the latest version available today? |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25598 | 21 sed '/tag\//!d;s|.*tag/V*||;s|".*||;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@13671 | 24 # Rules to configure and make the package. |
pascal@13671 | 25 compile_rules() |
pascal@13671 | 26 { |
Hans-G?nter@22583 | 27 # mkdir -p $DESTDIR/usr |
Hans-G?nter@22583 | 28 # sed -i "s|/usr/local|/usr|" make/gcc.mak |
Hans-G?nter@22583 | 29 # make -j 1 -f make/gcc.mak |
Hans-G?nter@22583 | 30 # sed -i "s|/usr|$DESTDIR/usr|" make/gcc.mak |
Hans-G?nter@22583 | 31 # make -j 1 -f make/gcc.mak install |
Hans-G?nter@22583 | 32 # cook_pick_manpages packages/debian/*.1 |
al@19288 | 33 |
Hans-G?nter@22583 | 34 make && |
Hans-G?nter@22583 | 35 make install PREFIX=/usr |
pascal@13671 | 36 } |
pascal@13671 | 37 |
pascal@13671 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13671 | 39 genpkg_rules() |
pascal@13671 | 40 { |
Hans-G?nter@22583 | 41 cp -a $install/* $fs |
pascal@13671 | 42 } |