discount: use LDFLAGS.
Build shared library. Adopted.
This commit is contained in:
parent
57f689d65c
commit
675e79a36d
|
@ -2454,3 +2454,4 @@ libsmpeg2-2.0.so.0 smpeg2-2.0.0_1
|
|||
libedac.so.1 libedac-0.18_1
|
||||
libxlsreader.so.1 libxls-1.4.0_1
|
||||
libR.so R-3.3.0_2
|
||||
libmarkdown.so.2 discount-2.2.0_3
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# Template file for 'discount'
|
||||
pkgname=discount
|
||||
version=2.2.0
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=configure
|
||||
configure_script="./configure.sh"
|
||||
configure_args="--prefix=/usr"
|
||||
configure_args="--prefix=/usr --shared"
|
||||
short_desc="C implementation of John Gruber's Markdown"
|
||||
maintainer="necrophcodr <necrophcodr@necrophcodr.me>"
|
||||
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"
|
||||
|
@ -14,15 +14,19 @@ checksum=b25395c29c2c08836199eb2eae87b56e6b545e77f5fbf921678aa1dc0ddab9f3
|
|||
|
||||
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
|
||||
vmove usr/lib/*.so
|
||||
vmove usr/share/man/man3
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user