2 # Copyright (C) 2006-2015 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
).c
15 PKG_SOURCE_URL
:=http
://distfiles.gentoo.org
/distfiles
/
16 PKG_HASH
:=75b321e5d9dddcea2b38035b62ac30f2175ed43f3f187be6da19aaa67c4fe165
17 PKG_MAINTAINER
:=Daniel Gimpelevich
<daniel@gimpelevich.san-francisco.ca.us
>
19 UNPACK_CMD
=$(CP
) $(DL_DIR
)/$(PKG_SOURCE
) $(1)/
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/fakeidentd
26 TITLE
:=A static
, secure identd.
27 URL
:=http
://www.guru-group.fi
/~too
/sw
/releases
/
30 define Package
/fakeidentd
/description
31 A static secure identd
, only one source file.
35 $(SHELL
) "$(PKG_BUILD_DIR)/$(MAKE_PATH)/$(PKG_SOURCE)" \
36 CC
="$(TARGET_CC)" TRG
="$(PKG_BUILD_DIR)/$(MAKE_PATH)/$(PKG_NAME)" \
37 $(TARGET_CFLAGS
) $(EXTRA_CFLAGS
) $(TARGET_CPPFLAGS
) $(EXTRA_CPPFLAGS
) \
38 $(TARGET_LDFLAGS
) $(EXTRA_LDFLAGS
) -DUSE_UNIX_OS
41 define Package
/fakeidentd
/install
42 $(INSTALL_DIR
) $(1)/usr
/sbin
43 $(CP
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/sbin
/
44 $(INSTALL_DIR
) $(1)/etc
/init.d
45 $(INSTALL_BIN
) .
/files
/$(PKG_NAME
).init
$(1)/etc
/init.d
/$(PKG_NAME
)
48 $(eval
$(call BuildPackage
,fakeidentd
))