aboutsummaryrefslogtreecommitdiffstats
path: root/main/mtools/APKBUILD
blob: 5c838cb35d46b1ff680c3463e875d7f04044d2e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mtools
pkgver=4.0.14
pkgrel=0
pkgdesc="A collection of utilities to access MS-DOS disks from Unix without mounting them"
url="http://www.gnu.org/software/mtools/"
arch="x86 x86_64"
license="GPL"
depends=
makedepends="texinfo"
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2"
subpackages="$pkgname-doc"

build () { 
	cd $srcdir/$pkgname-$pkgver
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--sysconfdir=/etc \
		--without-x
	make || return 1
}

package() {
	cd $srcdir/$pkgname-$pkgver
	make -j1 install DESTDIR="$pkgdir"
}

md5sums="2682a2db57b0144fa2ad6f8794320fb8  mtools-4.0.14.tar.bz2"