mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
ytnef: update to 2.1.2.
This commit is contained in:
parent
926e938d53
commit
6e5750f644
1 changed files with 9 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'ytnef'
|
# Template file for 'ytnef'
|
||||||
pkgname=ytnef
|
pkgname=ytnef
|
||||||
version=2.0
|
version=2.1.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake libtool"
|
hostmakedepends="automake libtool"
|
||||||
|
@ -8,8 +8,8 @@ short_desc="Yerase's TNEF Stream Reader"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://github.com/Yeraze/ytnef"
|
homepage="https://github.com/Yeraze/ytnef"
|
||||||
distfiles="https://github.com/Yeraze/ytnef/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
|
distfiles="https://github.com/Yeraze/ytnef/archive/v${version}.tar.gz"
|
||||||
checksum=bb12f34572de89e4825fce98d2d235d93cd34b2c41fed0074ebfa89af9e724a9
|
checksum=340f03f495884611209e9c0bc943fad06ce920e8c79655aa228d5ca7418dc360
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
@ -20,17 +20,18 @@ do_build() {
|
||||||
configure_args+=" --host=${XBPS_TARGET_MACHINE}"
|
configure_args+=" --host=${XBPS_TARGET_MACHINE}"
|
||||||
export ac_cv_func_malloc_0_nonnull=yes
|
export ac_cv_func_malloc_0_nonnull=yes
|
||||||
fi
|
fi
|
||||||
cd ${wrksrc}/lib
|
(
|
||||||
make ${makejobs} DESTDIR="${DESTDIR}" install
|
cd lib
|
||||||
mv "${DESTDIR}/usr/lib${XBPS_TARGET_WORDSIZE}" "${DESTDIR}/usr/lib"
|
make ${makejobs} DESTDIR="${DESTDIR}" install
|
||||||
|
mv "${DESTDIR}/usr/lib${XBPS_TARGET_WORDSIZE}" "${DESTDIR}/usr/lib"
|
||||||
|
)
|
||||||
export CFLAGS+=" -I${DESTDIR}/usr/include"
|
export CFLAGS+=" -I${DESTDIR}/usr/include"
|
||||||
export LDFLAGS+=" -L${DESTDIR}/usr/lib"
|
export LDFLAGS+=" -L${DESTDIR}/usr/lib"
|
||||||
cd ${wrksrc}
|
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
cd ${wrksrc}/ytnef
|
cd ytnef
|
||||||
make DESTDIR="${DESTDIR}" install
|
make DESTDIR="${DESTDIR}" install
|
||||||
# Cross compiling for some reason installs to /usr/local/bin
|
# Cross compiling for some reason installs to /usr/local/bin
|
||||||
if [ -d "${DESTDIR}/usr/local/bin" ]; then
|
if [ -d "${DESTDIR}/usr/local/bin" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue