mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
40 lines
1.1 KiB
Text
40 lines
1.1 KiB
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=mtools
|
|
pkgver=4.0.47
|
|
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
|
|
fix-uninitialized.patch
|
|
"
|
|
subpackages="$pkgname-dbg $pkgname-doc"
|
|
|
|
build() {
|
|
# todo: configure scripts are broken
|
|
export CFLAGS="$CFLAGS -DOS_linux"
|
|
./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="
|
|
cae324034aad76ba91923bba1fa57bddd626548d69c83350e6973c138079f06a894ae7f570c92ec1a2f9e397d8a474e15c77603fd38c8219eb734a384b131779 mtools-4.0.47.tar.bz2
|
|
3c41e2f84d7c2b15b119708453b30b6a056a443dbbf24198f2bdc82c99e6463974f7bb0bb13569fd1f929212506d43deed1ed77502c434a89b2da885baeab597 fix-uninitialized.patch
|
|
"
|