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