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.05
  8. PKG_RELEASE:=3
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  10. PKG_SOURCE_URL:=@SF/linuxquota
  11. PKG_HASH:=ef3b5b5d1014ed1344b46c1826145e20cbef8db967b522403c9a060761cf7ab9
  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))