1 include $(TOPDIR
)/rules.mk
7 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
8 PKG_SOURCE_URL
:=https
://archive.hadrons.org
/software
/libmd
/
9 PKG_HASH
:=f51c921042e34beddeded4b75557656559cf5b1f2448033b4c1eec11c07e530f
11 PKG_LICENSE
:=BSD-3-Clause
12 PKG_LICENSE_FILES
:=COPYING
17 include $(INCLUDE_DIR
)/package.mk
19 TARGET_CFLAGS
+= $(FPIC
)
27 TITLE
:=Message Digest functions from BSD systems
31 define Package
/libmd
/description
32 This library provides message digest functions found on BSD systems either
33 on their libc or libmd libraries and lacking on others like GNU systems
,
34 thus making it easier to port projects with strong BSD origins
, without
35 needing to embed the same code over and over again on each project.
38 define Build
/InstallDev
39 $(INSTALL_DIR
) $(1)/usr
/lib
40 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
41 $(INSTALL_DIR
) $(1)/usr
/include
42 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libmd.a
$(1)/usr
/lib
/
43 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/libmd
*.
pc $(1)/usr
/lib
/pkgconfig
/
44 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include/
47 $(eval
$(call BuildPackage
,libmd
))