[packages] ffmpeg: include/disable swresample where appropriate
[packages.git] / libs / shflags / Makefile
1 #
2 # Copyright (C) 2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=shflags
11 PKG_VERSION:=2012-06-11
12 PKG_RELEASE=$(PKG_SOURCE_VERSION)
13
14 PKG_SOURCE_PROTO:=git
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
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/shflags
23   SECTION:=libs
24   CATEGORY:=Libraries
25   TITLE:=shflags
26   DEPENDS:=+getopt
27   URL:=http://code.google.com/p/shflags/
28 endef
29
30 define Package/shflags/description
31  command-line flags module for Unix shell scripts
32 endef
33
34 define Build/Configure
35 endef
36
37 define Build/Compile
38 endef
39
40 define Build/Install
41 endef
42
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
46 endef
47
48 $(eval $(call BuildPackage,shflags))