No Description

Makefile 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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:=4.2
  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:=414df906df421dee0a5cf7548788d153
  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. MAINTAINER:=Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
  22. URL:=ftp://ftp.gnu.org/gnu/libtasn1/
  23. endef
  24. define Package/libtasn1/description
  25. This is a library for Abstract Syntax Notation One (ASN.1) and
  26. Distinguish Encoding Rules (DER) manipulation.
  27. endef
  28. TARGET_CFLAGS += $(FPIC)
  29. CONFIGURE_ARGS += \
  30. --enable-shared \
  31. --enable-static
  32. define Build/InstallDev
  33. $(INSTALL_DIR) $(1)/usr/bin
  34. $(INSTALL_DIR) $(1)/usr/include
  35. $(CP) $(PKG_INSTALL_DIR)/usr/include/libtasn1.h $(1)/usr/include/
  36. $(INSTALL_DIR) $(1)/usr/lib
  37. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtasn1.{a,so*} $(1)/usr/lib/
  38. $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
  39. $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libtasn1*.pc $(1)/usr/lib/pkgconfig/
  40. endef
  41. define Package/libtasn1/install
  42. $(INSTALL_DIR) $(1)/usr/lib
  43. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libtasn1.so.* $(1)/usr/lib/
  44. endef
  45. $(eval $(call BuildPackage,libtasn1))