mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-27 19:41:56 +01:00
47 lines
1.4 KiB
Plaintext
47 lines
1.4 KiB
Plaintext
# Contributor: Sean McAvoy <seanmcavoy@gmail.com>
|
|
# Maintainer: Sean McAvoy <seanmcavoy@gmail.com>
|
|
pkgname=partclone
|
|
pkgver=0.3.17
|
|
pkgrel=1
|
|
pkgdesc="utilities to save and restore used blocks on a partition"
|
|
url="https://partclone.org"
|
|
arch="all !mips64" # missing hfsprogs on mips64
|
|
license="GPL-2.0-only"
|
|
makedepends="e2fsprogs-dev btrfs-progs-dev ntfs-3g-dev f2fs-tools-dev hfsprogs
|
|
ncurses-dev automake autoconf libxslt-dev docbook-xml libbsd libtool
|
|
libuuid patchutils intltool gettext-dev openssl-dev diffutils"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
source="https://github.com/Thomas-Tsai/partclone/archive/$pkgver/partclone-$pkgver.tar.gz
|
|
musl.patch
|
|
"
|
|
|
|
[ "$CARCH" = "riscv64" ] && options="$options textrels"
|
|
|
|
build() {
|
|
autoreconf -vif
|
|
# xfs seems broken right now :(
|
|
LIBS="-lintl" ./configure --prefix=/usr \
|
|
--disable-rpath \
|
|
--enable-ncursesw \
|
|
--enable-fat \
|
|
--enable-extfs \
|
|
--enable-exfat \
|
|
--enable-ntfs \
|
|
--enable-btrfs \
|
|
--enable-minix \
|
|
--enable-f2fs \
|
|
--enable-hfsp
|
|
make
|
|
}
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
sha512sums="a9d7cc1601d485530c2c92621fed56c25ec75bf0ed06d403de86a282b34ec6aa961bf90c9c6ab3a9476de8bfe168d59b2b5c85623aea5aac8ea50d6798d54f53 partclone-0.3.17.tar.gz
|
|
0676b34c5818f8866e733b0aee151e8220b8db839ba732acfdaad4dcea81a4b5d514a520e43c79efcf53ba0788c9a7f06c043441b4d1f56dd684882329efce9d musl.patch"
|