No Description

Makefile 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #
  2. # Copyright (C) 2005-2008 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=libtasn1
  9. PKG_VERSION:=3.6
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=ftp://ftp.gnu.org/gnu/libtasn1
  13. PKG_MD5SUM:=6ed38e161e11013054f2a2bb4c4da449
  14. #PKG_FIXUP:=autoreconf
  15. PKG_INSTALL:=1
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/libtasn1
  18. SECTION:=libs
  19. CATEGORY:=Libraries
  20. TITLE:=An ASN.1 and DER structures manipulation library
  21. URL:=ftp://ftp.gnu.org/gnu/libtasn1/
  22. endef
  23. define Package/libtasn1/description
  24. This is a library for Abstract Syntax Notation One (ASN.1) and
  25. Distinguish Encoding Rules (DER) manipulation.
  26. endef
  27. TARGET_CFLAGS += $(FPIC)
  28. CONFIGURE_ARGS += \
  29. --enable-shared \
  30. --enable-static
  31. define Build/InstallDev
  32. $(INSTALL_DIR) $(1)/usr/bin
  33. $(INSTALL_DIR) $(1)/usr/include
  34. $(CP) $(PKG_INSTALL_DIR)/usr/include/libtasn1.h $(1)/usr/include/
  35. $(INSTALL_DIR) $(1)/usr/lib
  36. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtasn1.{a,so*} $(1)/usr/lib/
  37. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  38. $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libtasn1*.pc $(1)/usr/lib/pkgconfig/
  39. endef
  40. define Package/libtasn1/install
  41. $(INSTALL_DIR) $(1)/usr/lib
  42. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtasn1.so.* $(1)/usr/lib/
  43. endef
  44. $(eval $(call BuildPackage,libtasn1))