diff --git a/packages/sysutils/ntfs-3g_ntfsprogs/build b/packages/sysutils/ntfs-3g_ntfsprogs/build deleted file mode 100755 index df2ff4bc74..0000000000 --- a/packages/sysutils/ntfs-3g_ntfsprogs/build +++ /dev/null @@ -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 . -################################################################################ - -. 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 diff --git a/packages/sysutils/ntfs-3g_ntfsprogs/install b/packages/sysutils/ntfs-3g_ntfsprogs/install deleted file mode 100755 index 3ac7ae5701..0000000000 --- a/packages/sysutils/ntfs-3g_ntfsprogs/install +++ /dev/null @@ -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 . -################################################################################ - -. 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 diff --git a/packages/sysutils/ntfs-3g_ntfsprogs/meta b/packages/sysutils/ntfs-3g_ntfsprogs/package.mk similarity index 73% rename from packages/sysutils/ntfs-3g_ntfsprogs/meta rename to packages/sysutils/ntfs-3g_ntfsprogs/package.mk index 981de1702e..36a1b64ca2 100644 --- a/packages/sysutils/ntfs-3g_ntfsprogs/meta +++ b/packages/sysutils/ntfs-3g_ntfsprogs/package.mk @@ -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 +}