SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "sundown"

# SliTaz package receipt.

PACKAGE="sundown"
VERSION="1.16.0"
COMMIT="37728fb2d7137ff7c37d0a474cb827a8d6d846d8"
CATEGORY="utilities"
SHORT_DESC="Standards compliant, fast, secure markdown processing library in C"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="ISC"
WEB_SITE="https://github.com/vmg/sundown"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz"

DEPENDS=""
BUILD_DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/commits/master 2>/dev/null | \
    sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
}

# Rules to configure and make the package.
compile_rules()
{
    #sed -i 's|O3|Os|' $src/Makefile
    sed -i 's|-Wl||' Makefile

    patch -p1 -i $stuff/sundown.options.patch
    make
    mkdir -p $install/usr/bin
    cp -a $src/sundown $install/usr/bin
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)