SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "cc65"

# SliTaz package receipt.

PACKAGE="cc65"
VERSION="2.19"
CATEGORY="development"
SHORT_DESC="Cross development package for 65(C)02 systems."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="other"
WEB_SITE="https://cc65.github.io"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/V$VERSION.tar.gz"

DEPENDS=""
BUILD_DEPENDS=""

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/V\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
#    mkdir -p $DESTDIR/usr
#    sed -i "s|/usr/local|/usr|" make/gcc.mak
#    make -j 1 -f  make/gcc.mak
#    sed -i "s|/usr|$DESTDIR/usr|" make/gcc.mak
#    make -j 1 -f  make/gcc.mak install
#    cook_pick_manpages packages/debian/*.1

    make &&
    make install PREFIX=/usr
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/*    $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)