cmark: adopted port
This commit is contained in:
parent
ff5a45c4a3
commit
60b2e7c83c
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF316/+8wNm484YN5FYUZKU0SXNqr4JQwq024gG57elaNfOvCaVUekeCluCoo2d1kbEpjzPLWp3W2S+fvXY8jg4gw=
|
||||
SHA256 (Pkgfile) = dbc1db278e2eb39195a0a0abd5b069a910da8cd1abc237e55bbbd7de51dda4e6
|
||||
RWSagIOpLGJF37LPoi3ekULfab75JY9K5nniGm89rWa2p1vLufCnH9rRXhev3itKZ/2kk/fb6eDy6vB52CdxAT1p9Ip6Ppl3GAo=
|
||||
SHA256 (Pkgfile) = 3c4fc8793ea0cfe6462ab09544d7d5fd49e44c40975158a50597503b02787b4e
|
||||
SHA256 (.footprint) = 27e040b7386f0dff48f47e8341285d8e88bce91154eaf68158de5ed3d3806ef3
|
||||
SHA256 (cmark-0.30.3.tar.gz) = 85e9fb515531cc2c9ae176d693f9871774830cf1f323a6758fb187a5148d7b16
|
||||
|
@ -1,7 +1,6 @@
|
||||
# Description: CommonMark parsing and rendering library and program in C
|
||||
# URL: https://github.com/commonmark/cmark
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Depends on: cmake
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
|
||||
name=cmark
|
||||
version=0.30.3
|
||||
@ -9,15 +8,14 @@ release=1
|
||||
source=(https://github.com/commonmark/$name/archive/$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
[[ -e /usr/bin/ninja ]] && PKGMK_CMARK+=' -G Ninja'
|
||||
cmake -S $name-$version -B build $PKGMK_CMARK \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||
-Wno-dev
|
||||
cmake -S $name-$version -B build \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_INSTALL_LIBDIR=lib \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||
-Wno-dev
|
||||
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
cmake --build build
|
||||
DESTDIR=$PKG cmake --install build
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user