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
:=@GNU
/$(PKG_NAME
)
16 PKG_HASH
:=6753da2e621257f33f5b051cc114d417e5206a0818fe0b1ecfd6153f70934753
17 PKG_LICENSE
:=LGPLv2.1
+
18 PKG_LICENSE_FILES
:=COPYING.LIB
20 #PKG_FIXUP:=autoreconf
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/libtasn1
28 TITLE
:=An ASN
.1 and DER structures manipulation library
29 MAINTAINER
:=Nikos Mavrogiannopoulos
<n.mavrogiannopoulos@gmail.com
>
30 URL
:=ftp
://ftp.gnu.org
/gnu
/libtasn1
/
33 define Package
/libtasn1
/description
34 This is a library for Abstract Syntax Notation One
(ASN
.1) and
35 Distinguish Encoding Rules
(DER
) manipulation.
38 TARGET_CFLAGS
+= $(FPIC
)
42 --disable-gcc-warnings \
45 define Build
/InstallDev
46 $(INSTALL_DIR
) $(1)/usr
/bin
47 $(INSTALL_DIR
) $(1)/usr
/include
48 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/libtasn1.h
$(1)/usr
/include/
49 $(INSTALL_DIR
) $(1)/usr
/lib
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libtasn1.
{a
,so
*} $(1)/usr
/lib
/
51 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libtasn1
*.
pc $(1)/usr
/lib
/pkgconfig
/
55 define Package
/libtasn1
/install
56 $(INSTALL_DIR
) $(1)/usr
/lib
57 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libtasn1.so.
* $(1)/usr
/lib
/
60 $(eval
$(call BuildPackage
,libtasn1
))