Rename private cyassl build
authorSteven Barth <steven@midlink.org>
Sun, 7 Jun 2009 13:09:56 +0000 (13:09 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 7 Jun 2009 13:09:56 +0000 (13:09 +0000)
contrib/package/cyassl-luci/Makefile [new file with mode: 0644]
contrib/package/cyassl/Makefile [deleted file]

diff --git a/contrib/package/cyassl-luci/Makefile b/contrib/package/cyassl-luci/Makefile
new file mode 100644 (file)
index 0000000..ab78909
--- /dev/null
@@ -0,0 +1,58 @@
+# 
+# Copyright (C) 2008 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_BASENAME:=cyassl
+PKG_NAME:=$(PKG_BASENAME)-luci
+PKG_VERSION:=1.0.3
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_BASENAME)-$(PKG_VERSION).zip
+PKG_SOURCE_URL:=http://www.yassl.com/
+PKG_MD5SUM:=e9e85a2d78cd535a049e4acce786e42d
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(PKG_BASENAME)-$(PKG_VERSION)
+PKG_UNPACK=unzip -d $(BUILD_DIR)/$(PKG_NAME) $(DL_DIR)/$(PKG_SOURCE)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/cyassl-luci/Default
+  TITLE:=CyaSSL (LuCI embedded flavor)
+  URL:=http://www.yassl.com/
+endef
+
+define Package/libcyassl-luci
+  $(call Package/cyassl-luci/Default)
+  SECTION:=libs
+  SUBMENU:=SSL
+  CATEGORY:=Libraries
+  TITLE+= (library)
+endef
+
+define Package/libcyassl-luci/description
+       CyaSSL is an SSL library optimized for small footprint, both on disk and for memory use.
+endef
+
+TARGET_CFLAGS += $(FPIC)
+
+CONFIGURE_ARGS += --without-zlib --enable-fastmath
+
+define Build/InstallDev
+       $(INSTALL_DIR) $(1)/usr/include/ctaocrypt
+       $(CP) $(PKG_BUILD_DIR)/ctaocrypt/include/*.h $(1)/usr/include/ctaocrypt
+       
+       $(INSTALL_DIR) $(1)/usr/lib
+       $(CP) $(PKG_BUILD_DIR)/src/.libs/libcyassl.{a,so*} $(1)/usr/lib/
+       $(CP) $(PKG_BUILD_DIR)/src/libcyassl.la $(1)/usr/lib/
+endef
+
+define Package/libcyassl-luci/install
+       $(INSTALL_DIR) $(1)/usr/lib
+       $(CP) $(PKG_BUILD_DIR)/src/.libs/libcyassl.so* $(1)/usr/lib/
+endef
+
+$(eval $(call BuildPackage,libcyassl-luci))
diff --git a/contrib/package/cyassl/Makefile b/contrib/package/cyassl/Makefile
deleted file mode 100644 (file)
index ab78909..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-# 
-# Copyright (C) 2008 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_BASENAME:=cyassl
-PKG_NAME:=$(PKG_BASENAME)-luci
-PKG_VERSION:=1.0.3
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_BASENAME)-$(PKG_VERSION).zip
-PKG_SOURCE_URL:=http://www.yassl.com/
-PKG_MD5SUM:=e9e85a2d78cd535a049e4acce786e42d
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(PKG_BASENAME)-$(PKG_VERSION)
-PKG_UNPACK=unzip -d $(BUILD_DIR)/$(PKG_NAME) $(DL_DIR)/$(PKG_SOURCE)
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/cyassl-luci/Default
-  TITLE:=CyaSSL (LuCI embedded flavor)
-  URL:=http://www.yassl.com/
-endef
-
-define Package/libcyassl-luci
-  $(call Package/cyassl-luci/Default)
-  SECTION:=libs
-  SUBMENU:=SSL
-  CATEGORY:=Libraries
-  TITLE+= (library)
-endef
-
-define Package/libcyassl-luci/description
-       CyaSSL is an SSL library optimized for small footprint, both on disk and for memory use.
-endef
-
-TARGET_CFLAGS += $(FPIC)
-
-CONFIGURE_ARGS += --without-zlib --enable-fastmath
-
-define Build/InstallDev
-       $(INSTALL_DIR) $(1)/usr/include/ctaocrypt
-       $(CP) $(PKG_BUILD_DIR)/ctaocrypt/include/*.h $(1)/usr/include/ctaocrypt
-       
-       $(INSTALL_DIR) $(1)/usr/lib
-       $(CP) $(PKG_BUILD_DIR)/src/.libs/libcyassl.{a,so*} $(1)/usr/lib/
-       $(CP) $(PKG_BUILD_DIR)/src/libcyassl.la $(1)/usr/lib/
-endef
-
-define Package/libcyassl-luci/install
-       $(INSTALL_DIR) $(1)/usr/lib
-       $(CP) $(PKG_BUILD_DIR)/src/.libs/libcyassl.so* $(1)/usr/lib/
-endef
-
-$(eval $(call BuildPackage,libcyassl-luci))