wok-current annotate cc65/receipt @ rev 25086

created recipe for sylpheed-lang
author Hans-G?nter Theisgen
date Fri Jun 17 06:42:13 2022 +0100 (2022-06-17)
parents 5ea0ce1cecc0
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@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 }