summaryrefslogtreecommitdiffstats
path: root/testing/ntfsprogs/APKBUILD
blob: df79553ebe29d7e0451a4f9c389ccde2566d3ead (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
30
31
32
33
34
35
36
37
38
39
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=ntfsprogs
pkgver=2.0.0
pkgrel=0
pkgdesc="User space utilities for NTFS partitions"
url="http://sourceforge.net/projects/linux-ntfs/"
arch="all"
license="GPL"
depends=
depends_dev=
makedepends="$depends_dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/project/linux-ntfs/NTFS%20Tools%20and%20Library/2.0.0/$pkgname-$pkgver.tar.gz"


_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	return 0
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
	find $pkgdir -iname *.la -delete
}

md5sums="2c402b647bb7aeb1d3f8ce1cc354fd68  ntfsprogs-2.0.0.tar.gz"