void-packages/srcpkgs/discount/template

33 lines
946 B
Bash

# Template file for 'discount'
pkgname=discount
version=2.2.1
revision=1
build_style=configure
configure_script="./configure.sh"
configure_args="--prefix=/usr --shared"
short_desc="C implementation of John Gruber's Markdown"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="3-clause-BSD"
homepage="http://www.pell.portland.or.us/~orc/Code/discount"
distfiles="${homepage}/${pkgname}-${version}.tar.bz2"
checksum=88458c7c2cfc870f8e6cf42b300408c112e05a45c88f8af35abb33de0e96fe0e
nocross="http://build.voidlinux.eu/builders/armv7l_builder/builds/22221/steps/shell_3/logs/stdio"
post_extract() {
sed -i '/^LFLAGS/s/$/ $(LDFLAGS)/' Makefile.in
}
do_install() {
make DESTDIR=${DESTDIR} install install.man
vlicense COPYRIGHT
}
discount-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/share/man/man3
}
}