2 # Copyright (C) 2012 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
11 PKG_VERSION:=2012-06-11
12 PKG_RELEASE=$(PKG_SOURCE_VERSION)
15 PKG_SOURCE_URL:=git://dev.freecwmp.org/shflags-clone/
16 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17 PKG_SOURCE_VERSION:=4411ea9115802b86ffee68a2cbbbbf143dfeebbd
18 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
20 include $(INCLUDE_DIR)/package.mk
22 define Package/shflags
27 URL:=http://code.google.com/p/shflags/
30 define Package/shflags/description
31 command-line flags module for Unix shell scripts
34 define Build/Configure
43 define Package/shflags/install
44 $(INSTALL_DIR) $(1)/usr/share/shflags
45 $(CP) $(PKG_BUILD_DIR)/source/1.0/src/shflags $(1)/usr/share/shflags/shflags.sh
48 $(eval $(call BuildPackage,shflags))