Add mtool recipe.

master
Karchnu 2021-04-24 01:26:01 +02:00
parent 4e54d61888
commit 37c373b798
2 changed files with 21 additions and 33 deletions

21
recipes/mtools/Makefile Normal file
View File

@ -0,0 +1,21 @@
name = mtools
version = 4.0.26
release = 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"
build-dependencies = texinfo linux-headers
URL = "https://ftp.gnu.org/gnu/mtools/mtools-$(version).tar.bz2"
subpackages = $(name)-doc
CONFIGURE_OPTIONS_USER = --mandir=$(MANDIR) \
--infodir=$(SHAREDIR)/info \
--sysconfdir=/etc/mtools \
--without-x
MAKE_INSTALL_OPTIONS_USER = -j1
SYSCONF ?= ../../
include $(SYSCONF)/package.mk

View File

@ -1,33 +0,0 @@
# 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"