forked from ports/contrib
25 lines
505 B
Plaintext
25 lines
505 B
Plaintext
|
# Description: CommonMark parsing and rendering library and program in C
|
||
|
# URL: https://github.com/jgm/cmark
|
||
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
||
|
# Depends on: cmake python
|
||
|
|
||
|
name=cmark
|
||
|
version=0.29.0
|
||
|
release=1
|
||
|
source=(https://github.com/jgm/$name/archive/$version/$name-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd $name-$version
|
||
|
|
||
|
mkdir -p build
|
||
|
cd build
|
||
|
|
||
|
cmake .. \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
||
|
-DCMAKE_BUILD_TYPE=Release
|
||
|
|
||
|
make
|
||
|
make DESTDIR=$PKG install
|
||
|
}
|