wok-current annotate sundown/receipt @ rev 25693

Up depends pkgs for cups, need to rebuild it for ssl 3.0
author Stanislas Leduc <shann@slitaz.org>
date Sun Mar 24 15:17:37 2024 +0000 (3 months ago)
parents e1e1678c5265
children
rev   line source
al@18770 1 # SliTaz package receipt.
al@18770 2
al@18770 3 PACKAGE="sundown"
al@18770 4 VERSION="1.16.0"
al@18770 5 COMMIT="37728fb2d7137ff7c37d0a474cb827a8d6d846d8"
al@18770 6 CATEGORY="utilities"
al@18770 7 SHORT_DESC="Standards compliant, fast, secure markdown processing library in C"
al@18770 8 MAINTAINER="al.bobylev@gmail.com"
al@18770 9 LICENSE="ISC"
al@18770 10 WEB_SITE="https://github.com/vmg/sundown"
al@18770 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@18770 12 WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz"
al@18770 13
al@18770 14 DEPENDS=""
al@18770 15 BUILD_DEPENDS=""
al@18770 16
pascal@24497 17 # What is the latest version available today?
pascal@24497 18 current_version()
pascal@24497 19 {
pascal@24497 20 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
pascal@24974 21 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
pascal@24497 22 }
pascal@24497 23
al@18770 24 # Rules to configure and make the package.
al@18770 25 compile_rules()
al@18770 26 {
al@18770 27 #sed -i 's|O3|Os|' $src/Makefile
shann@25627 28 sed -i 's|-Wl||' Makefile
shann@25627 29
al@18770 30 patch -p1 -i $stuff/sundown.options.patch
al@18770 31 make
al@18770 32 mkdir -p $install/usr/bin
al@18770 33 cp -a $src/sundown $install/usr/bin
al@18770 34 }
al@18770 35
al@18770 36 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18770 37 genpkg_rules()
al@18770 38 {
al@18770 39 cp -a $install/* $fs
al@18770 40 }