aboutsummaryrefslogblamecommitdiffstats
path: root/main/ntfs-3g/APKBUILD
blob: a2d4d5631bc2a6d3261c56a43c61c599e39fcf2c (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                     
                                                   
               
                
        
                                                    
                                                       
          
             
        
                                     
                                       


                                                                  
 
                                             



                                     




                                                                        
 
 
         
                       



                                 

                                         

                                           
                        



                       

                                                                 

 





                                                                                                                                                                             
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ntfs-3g
pkgver=2013.1.13
pkgrel=1
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 util-linux-dev"
subpackages="$pkgname-doc $pkgname-dev"
source="http://tuxera.com/opensource/ntfs-3g_ntfsprogs-$pkgver.tgz
	musl-fixes.patch
	"

_builddir="$srcdir"/ntfs-3g_ntfsprogs-$pkgver

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

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

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

md5sums="2d6fb47ddf62b51733227126fe9227fe  ntfs-3g_ntfsprogs-2013.1.13.tgz
cdfca9f0d20ef96ec60e072ffe4fd061  musl-fixes.patch"
sha256sums="4b383f0074a3ab7683339d1f18222b107aaeb4983db119292c43c2b275cefb27  ntfs-3g_ntfsprogs-2013.1.13.tgz
f60f15b5650ada189d880ffea0e199869b3d5e855913d353cab8b0b7ebc47ae4  musl-fixes.patch"
sha512sums="34cc930320a9a54df406d0fdd71154503bac1181b5642382fcb38fa8c51235fa252c74a5c1ab06019972a236bbd717b47d2acbc7581a747657e4f7a8f216d8bc  ntfs-3g_ntfsprogs-2013.1.13.tgz
5b4680956f11c75ee3122923f36b840e2a0a38e6cebecbe7be4a02f4423746f8b7d7a89b16d7a9bea62e64534d20e87503beb582273af38d458b946387e85a02  musl-fixes.patch"