SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "discount"

# SliTaz package receipt.

PACKAGE="discount"
VERSION="2.2.7"
CATEGORY="utilities"
SHORT_DESC="A C implementation of the markdown language."
MAINTAINER="necrophcodr@necrophcodr.me"
LICENSE="BSD3"
WEB_SITE="https://www.pell.portland.or.us/~orc/Code/markdown"

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

DEPENDS=""
BUILD_DEPENDS=""

HOST_ARCH="i486 arm"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure.sh --prefix=/usr &&
    make -j 1 &&
    make install DESTDIR=$DESTDIR
# Do not remove  -j 1 !
}


# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)