mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:57:14 +08:00
39 lines
1.2 KiB
Bash
39 lines
1.2 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=ntfs-3g
|
|
_realname=ntfs-3g_ntfsprogs
|
|
pkgver=2012.1.15
|
|
pkgrel=2
|
|
pkgdesc="Stable read and write NTFS driver"
|
|
url="http://www.tuxera.com"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL2')
|
|
depends=('glibc')
|
|
makedepends=('pkgconfig')
|
|
options=('!libtool')
|
|
conflicts=('ntfsprogs')
|
|
provides=("ntfsprogs=${pkgver}")
|
|
source=(http://www.tuxera.com/opensource/${_realname}-${pkgver}.tgz
|
|
25-ntfs-config-write-policy.fdi)
|
|
sha1sums=('8d55cf49afde172fefa369a0a85289e09c4d7bbb'
|
|
'200029f2999a2c284fd30ae25734abf6459c3501')
|
|
build() {
|
|
cd "${srcdir}/${_realname}-${pkgver}"
|
|
ac_cv_path_LDCONFIG=/bin/true ./configure --prefix=/usr \
|
|
--with-fuse=internal --disable-static --disable-gnome-vfs \
|
|
--mandir=/usr/share/man
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${_realname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
ln -s /bin/ntfs-3g "${pkgdir}/sbin/mount.ntfs"
|
|
install -m755 -d "${pkgdir}/usr/share/hal/fdi/policy/10osvendor"
|
|
install -m644 "${srcdir}/25-ntfs-config-write-policy.fdi" "${pkgdir}/usr/share/hal/fdi/policy/10osvendor/"
|
|
}
|