You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.1 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=quota
  7. PKG_VERSION:=4.06
  8. PKG_RELEASE:=1
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  10. PKG_SOURCE_URL:=@SF/linuxquota
  11. PKG_HASH:=2f3e03039f378d4f0d97acdb49daf581dcaad64d2e1ddf129495fd579fbd268d
  12. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  13. PKG_LICENSE:=GPL-2.0-or-later
  14. PKG_LICENSE_FILES:=COPYING
  15. PKG_INSTALL:=1
  16. PKG_BUILD_PARALLEL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/quota
  19. SECTION:=utils
  20. CATEGORY:=Utilities
  21. TITLE:= quota
  22. URL:=https://sourceforge.net/projects/linuxquota/
  23. endef
  24. define Package/quota/description
  25. Utility for managing Linux filesystem quotas
  26. endef
  27. CONFIGURE_ARGS += \
  28. --disable-bsd-behaviour \
  29. --disable-ext2direct \
  30. --disable-ldapmail \
  31. --disable-libwrap \
  32. --disable-netlink \
  33. --disable-rpath \
  34. --disable-rpc
  35. define Package/quota/install
  36. $(INSTALL_DIR) $(1)/usr/bin
  37. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
  38. $(INSTALL_DIR) $(1)/usr/sbin
  39. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/
  40. endef
  41. $(eval $(call BuildPackage,quota))