ntfs-3g_ntfsprogs: convert to new package format

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-12-25 20:04:05 +01:00
parent d27735c06d
commit f4e9fd302f
3 changed files with 18 additions and 68 deletions

View File

@ -1,40 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
. config/options $1
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--enable-shared \
--disable-static \
--disable-dependency-tracking \
--disable-library \
--enable-posix-acls \
--enable-mtab \
--enable-ntfsprogs \
--enable-crypto \
--with-fuse=external \
--with-uuid \
make

View File

@ -1,26 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
. config/options $1
mkdir -p $INSTALL/usr/bin
cp $PKG_BUILD/src/ntfs-3g $INSTALL/usr/bin
ln -sf ntfs-3g $INSTALL/usr/bin/mount.ntfs
ln -sf ntfs-3g $INSTALL/usr/bin/mount.ntfs-3g

View File

@ -24,11 +24,27 @@ PKG_LICENSE="GPL"
PKG_SITE="http://www.ntfs-3g.org/"
PKG_URL="http://tuxera.com/opensource/$PKG_NAME-$PKG_VERSION.tgz"
PKG_DEPENDS="fuse gnutls libgcrypt"
PKG_BUILD_DEPENDS="toolchain fuse gnutls libgcrypt"
PKG_BUILD_DEPENDS_TARGET="toolchain fuse gnutls libgcrypt"
PKG_PRIORITY="optional"
PKG_SECTION="system"
PKG_SHORTDESC="ntfs-3g_ntfsprogs: NTFS-3G Read/Write userspace driver"
PKG_LONGDESC="The NTFS-3G_ntfsprogs driver is an open source, freely available NTFS driver for Linux with read and write support. It provides safe and fast handling of the Windows XP, Windows Server 2003, Windows 2000 and Windows Vista file systems."
PKG_IS_ADDON="no"
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--disable-dependency-tracking \
--disable-library \
--enable-posix-acls \
--enable-mtab \
--disable-ntfsprogs \
--enable-crypto \
--with-fuse=external \
--with-uuid"
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
mkdir -p $INSTALL/sbin
ln -sf /bin/ntfs-3g $INSTALL/sbin/mount.ntfs
}