wok-current view sundown/receipt @ rev 25701

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