From 37c373b7989562dbdf04613b2d27e6d8e40c9723 Mon Sep 17 00:00:00 2001 From: Karchnu Date: Sat, 24 Apr 2021 01:26:01 +0200 Subject: [PATCH] Add mtool recipe. --- recipes/mtools/Makefile | 21 +++++++++++++++++++++ wip/mtools/APKBUILD | 33 --------------------------------- 2 files changed, 21 insertions(+), 33 deletions(-) create mode 100644 recipes/mtools/Makefile delete mode 100644 wip/mtools/APKBUILD diff --git a/recipes/mtools/Makefile b/recipes/mtools/Makefile new file mode 100644 index 0000000..ea9d395 --- /dev/null +++ b/recipes/mtools/Makefile @@ -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 diff --git a/wip/mtools/APKBUILD b/wip/mtools/APKBUILD deleted file mode 100644 index c6453fd..0000000 --- a/wip/mtools/APKBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Natanael Copa -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"