summaryrefslogtreecommitdiffstats
path: root/main/ntfs-3g/APKBUILD
blob: ff3a2e24cd02603ac0bda97e57a724da53f0146b (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ntfs-3g
pkgver=2012.1.15
pkgrel=0
pkgdesc="A userspace ntfs driver with write support"
url="http://www.tuxera.com/community/ntfs-3g-download/"
arch="all"
license="GPL"
depends=
makedepends="attr-dev"
subpackages="$pkgname-doc $pkgname-dev"
source="http://tuxera.com/opensource/ntfs-3g_ntfsprogs-$pkgver.tgz"

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

package() {
	cd "$_builddir"
	make -j1 DESTDIR="$pkgdir" LDCONFIG=: install || return 1
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="341acae00a290cab9b00464db65015cc  ntfs-3g_ntfsprogs-2012.1.15.tgz"