diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-09-12 03:43:09 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-09-12 03:43:09 +0000 |
commit | ec0c8239490365685483bc7b63c6c14666edcfb2 (patch) | |
tree | 47d0e9af1661541a06f72bbcbcd09ed6e2cb1578 /openwrt/package/setpwc/Makefile | |
parent | f021a29dae27fb65b5a92377048b94ab0fea21ec (diff) |
add setpwc package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1908 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/setpwc/Makefile')
-rw-r--r-- | openwrt/package/setpwc/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/openwrt/package/setpwc/Makefile b/openwrt/package/setpwc/Makefile new file mode 100644 index 000000000..dbd41c5bc --- /dev/null +++ b/openwrt/package/setpwc/Makefile @@ -0,0 +1,32 @@ +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=setpwc +PKG_VERSION:=1.0 +PKG_RELEASE:=1 +PKG_MD5SUM:=a125d76f630c4aab940df5912f161965 + +PKG_SOURCE_URL:=http://www.vanheusden.com/setpwc/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,SETPWC,setpwc,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.configured: + touch $@ + +$(PKG_BUILD_DIR)/.built: + $(TARGET_CC) $(TARGET_CFLAGS) -DVERSION=\"$(PKG_VERSION)\" -o $(PKG_BUILD_DIR)/setpwc $(PKG_BUILD_DIR)/setpwc.c + touch $@ + +$(IPKG_SETPWC): + install -d -m0755 $(IDIR_SETPWC)/usr/bin + install -m0755 $(PKG_BUILD_DIR)/setpwc $(IDIR_SETPWC)/usr/bin/ + $(RSTRIP) $(IDIR_SETPWC) + $(IPKG_BUILD) $(IDIR_SETPWC) $(PACKAGE_DIR) |