summaryrefslogtreecommitdiff
path: root/package/quota
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@intel.com>2012-06-02 01:40:30 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-06-24 01:50:17 +0200
commitda1884f048f691467febc2d6d4d570d414c530d0 (patch)
tree232a3cab5bd17b73c44f7f3b92994eedb037662c /package/quota
parente065b0ecd548c7c3ea6069b50f183dd2fc85a1b9 (diff)
quota: new package (v8)
[Peter: fix help text whitespace] Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@intel.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/quota')
-rw-r--r--package/quota/Config.in14
-rw-r--r--package/quota/quota.mk18
2 files changed, 32 insertions, 0 deletions
diff --git a/package/quota/Config.in b/package/quota/Config.in
new file mode 100644
index 000000000..dfefb8a18
--- /dev/null
+++ b/package/quota/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_QUOTA
+ bool "quota"
+ depends on BR2_INET_RPC
+ depends on BR2_LARGEFILE
+ depends on BR2_USE_WCHAR
+ select BR2_PACKAGE_UTIL_LINUX
+ select BR2_PACKAGE_UTIL_LINUX_MOUNT
+ help
+ Implementation of the disk quota system.
+
+ http://sourceforge.net/projects/linuxquota/
+
+comment "quota requires a toolchain with RPC + LARGEFILE + WCHAR support"
+ depends on !(BR2_INET_RPC && BR2_LARGEFILE && BR2_USE_WCHAR)
diff --git a/package/quota/quota.mk b/package/quota/quota.mk
new file mode 100644
index 000000000..845eefbaa
--- /dev/null
+++ b/package/quota/quota.mk
@@ -0,0 +1,18 @@
+#############################################################
+#
+# QUOTA
+#
+#############################################################
+
+QUOTA_VERSION = 4.00
+QUOTA_SOURCE = quota-$(QUOTA_VERSION).tar.gz
+QUOTA_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION)
+
+QUOTA_MAKE_OPT = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
+
+# Package uses autoconf but not automake.
+QUOTA_INSTALL_TARGET_OPT = \
+ ROOTDIR=$(TARGET_DIR) \
+ install
+
+$(eval $(call AUTOTARGETS))