diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-06-18 17:46:02 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-06-18 17:46:02 +0000 |
commit | bce3747358ff708c24261b7105b172f01bd45800 (patch) | |
tree | 6d0369159d1f251e63ebf9e3266791f91c2a5300 /package/openssl/Makefile | |
parent | 4e4f8a981a5685173c4e8055010b491be129d229 (diff) | |
download | master-187ad058-bce3747358ff708c24261b7105b172f01bd45800.tar.gz master-187ad058-bce3747358ff708c24261b7105b172f01bd45800.tar.bz2 master-187ad058-bce3747358ff708c24261b7105b172f01bd45800.zip |
remove ipkg directory, normalize Makefile.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3990 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/openssl/Makefile')
-rw-r--r-- | package/openssl/Makefile | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/package/openssl/Makefile b/package/openssl/Makefile index 45b248fbf3..82f20d6b0d 100644 --- a/package/openssl/Makefile +++ b/package/openssl/Makefile @@ -22,6 +22,26 @@ OPENSSL_OPTIONS:= shared no-ec no-err no-fips no-hw no-krb5 no-threads zlib-dyna include $(TOPDIR)/package/rules.mk +define Package/libopenssl +SECTION:=base +CATEGORY:=Libraries +TITLE:=Open source SSL libraries +DEPENDS:=+zlib +DESCRIPTION:=Open source SSL (Secure Socket Layer) libraries +URL:=http://www.openssl.org/ +endef + +define Package/openssl-util +$(call Package/libopenssl) +DEPENDS:=libopenssl +TITLE:=OpenSSL command line utilities +DESCRIPTION:=OpenSSL command line utilities +endef + +define Package/openssl-util/conffiles +/etc/ssl/openssl.cnf +endef + define Build/Configure $(SED) 's,/CFLAG=,/CFLAG= $(TARGET_SOFT_FLOAT) ,g' $(PKG_BUILD_DIR)/Configure $(SED) s/OPENWRT_OPTIMIZATION_FLAGS/$(BR2_TARGET_OPTIMIZATION)/g $(PKG_BUILD_DIR)/Configure @@ -68,29 +88,10 @@ define Build/InstallDev endef define Build/UninstallDev - rm -rf \ - $(STAGING_DIR)/usr/include/openssl \ + rm -rf $(STAGING_DIR)/usr/include/openssl \ $(STAGING_DIR)/usr/lib/lib{crypto,ssl}.{a,so*} endef - -define Package/libopenssl - SECTION:=base - CATEGORY:=Libraries - TITLE:=Open source SSL libraries - DEPENDS:=+zlib - DESCRIPTION:=Open source SSL (Secure Socket Layer) libraries - URL:=http://www.openssl.org/ -endef - -define Package/openssl-util - $(call Package/libopenssl) - DEPENDS:=libopenssl - TITLE:=OpenSSL command line utilities - DESCRIPTION:=OpenSSL command line utilities -endef - - define Package/libopenssl/install install -d -m0755 $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{crypto,ssl}.so.* $(1)/usr/lib/ @@ -107,6 +108,5 @@ define Package/openssl-util/install $(CP) $(PKG_INSTALL_DIR)/usr/bin/openssl $(1)/usr/bin/ endef - $(eval $(call BuildPackage,libopenssl)) $(eval $(call BuildPackage,openssl-util)) |