package.mk/wip/mtools/APKBUILD

34 lines
819 B
Plaintext

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mtools
pkgver=4.0.26
pkgrel=0
pkgdesc="collection of utilities to access MS-DOS disks from Unix without mounting them"
url="https://www.gnu.org/software/mtools/"
arch="all"
license="GPL-3.0-or-later"
makedepends="texinfo linux-headers"
source="https://ftp.gnu.org/gnu/mtools/mtools-$pkgver.tar.bz2"
subpackages="$pkgname-doc"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--sysconfdir=/etc/mtools \
--without-x
make
}
check() {
make check
}
package() {
make -j1 install DESTDIR="$pkgdir"
}
sha512sums="32303ea16314ca00f33aee103451958f13c71ab1f3975e9a1dd9236c8e775286985ee776c38c64a1f8f5f8d0a66cbf84643182913e4e2c2dcaff384a9acd8633 mtools-4.0.26.tar.bz2"