makedumpfile: update to 1.6.4.
This commit is contained in:
parent
3b9646b9f9
commit
49e6c14724
1 changed files with 10 additions and 8 deletions
|
@ -1,19 +1,15 @@
|
|||
# Template file for 'makedumpfile'
|
||||
pkgname=makedumpfile
|
||||
version=1.6.3
|
||||
version=1.6.4
|
||||
revision=1
|
||||
makedepends="elfutils-devel zlib-devel bzip2-devel liblzma-devel lzo-devel"
|
||||
depends="perl"
|
||||
short_desc="Make a small dumpfile of kdump"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="GPL-2"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="http://sourceforge.net/projects/makedumpfile/"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=cb1afe2cf24147eac983694bfbcf8c1b149eeeb92289562d4d25fbe3b100b125
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
aarch64) broken="https://build.voidlinux.eu/builders/aarch64_builder/builds/7860/steps/shell_3/logs/stdio";;
|
||||
esac
|
||||
checksum=7e06f72d5f291fcab9e92975f405a76e37d4f7fc8fa4172f199636398ae812b1
|
||||
|
||||
post_extract() {
|
||||
sed -i '/#define PAGESIZE/i#undef PAGESIZE' makedumpfile.h
|
||||
|
@ -21,8 +17,14 @@ post_extract() {
|
|||
sed -i 's@CFLAGS\(\|_ARCH\)[ \t]*= @& $(CF) @' Makefile
|
||||
}
|
||||
do_build() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*) export ARCH=i386;;
|
||||
x86_64*) export ARCH=x86_64;;
|
||||
arm*) export ARCH=arm;;
|
||||
aarch64*) export ARCH=aarch64;;
|
||||
esac
|
||||
make CC="$CC" LD="$LD" CF="$CFLAGS -D_GNU_SOURCE" \
|
||||
LDFLAGS="$LDFLAGS" LINKTYPE=dynamic USELZO=on
|
||||
LDFLAGS="$LDFLAGS" LINKTYPE=dynamic USELZO=on TARGET=$ARCH
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Reference in a new issue