mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
fdm: update to 2.1.
This commit is contained in:
parent
50d93f878b
commit
9a21ad100b
1 changed files with 4 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'fdm'
|
# Template file for 'fdm'
|
||||||
pkgname=fdm
|
pkgname=fdm
|
||||||
version=2.0
|
version=2.1
|
||||||
revision=5
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="ac_cv_func_strlcpy=no ac_cv_func_strlcat=no --enable-pcre"
|
configure_args="ac_cv_func_strlcpy=no ac_cv_func_strlcat=no --enable-pcre"
|
||||||
hostmakedepends="automake bison"
|
hostmakedepends="automake bison"
|
||||||
|
@ -11,20 +11,13 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="ISC"
|
license="ISC"
|
||||||
homepage="https://github.com/nicm/fdm"
|
homepage="https://github.com/nicm/fdm"
|
||||||
distfiles="https://github.com/nicm/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz"
|
distfiles="https://github.com/nicm/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=06b28cb6b792570bc61d7e29b13d2af46b92fea77e058b2b17e11e8f7ed0cea4
|
checksum=858df2e6ef0836d940e8b8cc4fec333770fa9c97ba0f2485a9e63ed18b2cadff
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
makedepends+=" musl-legacy-compat"
|
makedepends+=" musl-legacy-compat"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
post_extract() {
|
ost_install() {
|
||||||
sed -i '$d' Makefile.am
|
|
||||||
sed -i '$d' Makefile.am
|
|
||||||
sed -i '$d' Makefile.am
|
|
||||||
autoreconf -fi
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vmkdir usr/share/doc/${pkgname}
|
vmkdir usr/share/doc/${pkgname}
|
||||||
cp -r examples ${DESTDIR}/usr/share/doc/${pkgname}
|
cp -r examples ${DESTDIR}/usr/share/doc/${pkgname}
|
||||||
sed 17q fdm.c >LICENSE
|
sed 17q fdm.c >LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue