mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 02:27:13 +08:00
40 lines
921 B
Bash
40 lines
921 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
|
|
pkgname=ntfs-3g
|
|
_realname=ntfs-3g_ntfsprogs
|
|
pkgver=2013.1.13
|
|
pkgrel=1
|
|
pkgdesc="Stable read and write NTFS driver"
|
|
url="http://www.tuxera.com"
|
|
arch=('x86_64')
|
|
license=('GPL2')
|
|
depends=('glibc' 'fuse' 'util-linux')
|
|
makedepends=('pkgconfig')
|
|
options=('!libtool')
|
|
conflicts=('ntfsprogs')
|
|
provides=("ntfsprogs=${pkgver}")
|
|
source=("http://www.tuxera.com/opensource/${_realname}-${pkgver}.tgz")
|
|
sha1sums=('8c12b7644d90ae9fb8d0aca0d7ebd5f8fac2c818')
|
|
|
|
build() {
|
|
cd "${srcdir}/${_realname}-${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--with-fuse=external --disable-static \
|
|
--enable-posix-acls --disable-ldconfig \
|
|
--mandir=/usr/share/man
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${_realname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
ln -s /bin/ntfs-3g "${pkgdir}/sbin/mount.ntfs"
|
|
|
|
mv "$pkgdir"/lib/* "$pkgdir"/usr/lib/
|
|
rm -rf "$pkgdir"/lib
|
|
}
|
|
|