2015-03-10 18:08:51 +01:00
|
|
|
# Template file for 'discount'
|
|
|
|
pkgname=discount
|
2016-02-27 05:50:31 +01:00
|
|
|
version=2.2.0
|
2016-05-25 13:49:16 +02:00
|
|
|
revision=3
|
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-02-27 05:50:31 +01:00
|
|
|
checksum=b25395c29c2c08836199eb2eae87b56e6b545e77f5fbf921678aa1dc0ddab9f3
|
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
|
|
|
}
|
|
|
|
}
|