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
12 PKG_VERSION:=2012-06-11_r$(PKG_REV)
16 PKG_SOURCE_URL:=http://shflags.googlecode.com/svn/trunk
17 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
18 PKG_SOURCE_VERSION:=$(PKG_REV)
19 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
21 include $(INCLUDE_DIR)/package.mk
23 define Package/shflags
28 URL:=http://code.google.com/p/shflags/
31 define Package/shflags/description
32 command-line flags module for Unix shell scripts
35 define Build/Configure
44 define Package/shflags/install
45 $(INSTALL_DIR) $(1)/usr/share/shflags
46 $(CP) $(PKG_BUILD_DIR)/source/1.0/src/shflags $(1)/usr/share/shflags/shflags.sh
49 $(eval $(call BuildPackage,shflags))