3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=a125d76f630c4aab940df5912f161965
10 PKG_SOURCE_URL
:=http
://www.vanheusden.com
/setpwc
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,SETPWC
,setpwc
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
24 $(PKG_BUILD_DIR
)/.built
:
25 $(TARGET_CC
) $(TARGET_CFLAGS
) -DVERSION
=\"$(PKG_VERSION
)\" -o
$(PKG_BUILD_DIR
)/setpwc
$(PKG_BUILD_DIR
)/setpwc.c
29 install -d
-m0755
$(IDIR_SETPWC
)/usr
/bin
30 install -m0755
$(PKG_BUILD_DIR
)/setpwc
$(IDIR_SETPWC
)/usr
/bin
/
31 $(RSTRIP
) $(IDIR_SETPWC
)
32 $(IPKG_BUILD
) $(IDIR_SETPWC
) $(PACKAGE_DIR
)