2 # Copyright (C) 2008-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=http
://ftp.pld-linux.org
/software
/shadow
16 PKG_MD5SUM
:=4fa404ebb4e29828232b3c9a2abddefd
22 include $(INCLUDE_DIR
)/package.mk
25 groupadd groupdel groupmod useradd userdel usermod
30 TITLE
:=The PLD Linux shadow utilities
31 URL
:=http
://ftp.pld-linux.org
/software
/shadow
/
32 DEPENDS
:=$(foreach u
,$(UTILS
),+shadow-
$(u
))
35 define Package
/shadow
/description
36 Full versions of standard shadow utilities. Normally
, you would not
37 use this package
, since the functionality in BusyBox is more than
38 sufficient and much smaller.
41 define Package
/shadow
/install
47 define Package
/shadow-
$(1)
50 TITLE
:=Utility
$(1) from the PLD Linux shadow utilities
51 URL
:=http
://ftp.pld-linux.org
/software
/shadow
/
54 define Package
/shadow-
$(1)/description
55 Full version of standard
$(1) utility. Normally
, you would not use this
56 package
, since the functionality in BusyBox is more than sufficient.
59 define Package
/shadow-
$(1)/install
60 [ -x
"$(PKG_INSTALL_DIR)/usr/sbin/$(1)" ] && { \
61 $(INSTALL_DIR
) $$(1)/usr
/sbin
; \
62 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/$(1) $$(1)/usr
/sbin
/; \
64 $(INSTALL_DIR
) $$(1)/usr
/bin
; \
65 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/$(1) $$(1)/usr
/bin
/; \
69 $$(eval
$$(call BuildPackage
,shadow-
$(1)))
72 $(eval
$(call BuildPackage
,shadow
))
73 $(foreach u
,$(UTILS
),$(eval
$(call program
,$(u
))))