23 lines
695 B
Bash
23 lines
695 B
Bash
# Template file for 'gpart'
|
|
pkgname=gpart
|
|
version=0.3
|
|
revision=3
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake"
|
|
short_desc="Partition table rescue/guessing tool"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/baruch/gpart"
|
|
distfiles="https://github.com/baruch/gpart/archive/${version}.tar.gz
|
|
https://github.com/ndowens/voidpatches/archive/gpart-patches.tar.gz"
|
|
checksum="ec56d12ec9ffdb9877c12692ea6e51620b1ae44473d3d253b27fc31ed9ebb4dd
|
|
ac68a5275d878623add392fc6a68913735e6cfbed5a6c49fcbe48105f88b97eb"
|
|
|
|
post_extract() {
|
|
patch -p0 < ../voidpatches-gpart-patches/0004-Real-fix-for-crash.patch
|
|
}
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|