2 # Copyright (C) 2005-2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=ftp
://ftp.gnu.org
/gnu
/libtasn1
16 PKG_MD5SUM
:=12d10ca4ae0a3b95f7aa06a076da39ec
18 #PKG_FIXUP:=autoreconf
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/libtasn1
26 TITLE
:=An ASN
.1 and DER structures manipulation library
27 MAINTAINER
:=Nikos Mavrogiannopoulos
<n.mavrogiannopoulos@gmail.com
>
28 URL
:=ftp
://ftp.gnu.org
/gnu
/libtasn1
/
31 define Package
/libtasn1
/description
32 This is a library for Abstract Syntax Notation One
(ASN
.1) and
33 Distinguish Encoding Rules
(DER
) manipulation.
36 TARGET_CFLAGS
+= $(FPIC
)
42 define Build
/InstallDev
43 $(INSTALL_DIR
) $(1)/usr
/bin
44 $(INSTALL_DIR
) $(1)/usr
/include
45 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/libtasn1.h
$(1)/usr
/include/
46 $(INSTALL_DIR
) $(1)/usr
/lib
47 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libtasn1.
{a
,so
*} $(1)/usr
/lib
/
48 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
49 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libtasn1
*.
pc $(1)/usr
/lib
/pkgconfig
/
52 define Package
/libtasn1
/install
53 $(INSTALL_DIR
) $(1)/usr
/lib
54 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libtasn1.so.
* $(1)/usr
/lib
/
57 $(eval
$(call BuildPackage
,libtasn1
))