python3: allow to use libopenssl
[openadk.git] / package / gdbm / Makefile
blobdfca242e179ff9b9f2c8b073e3afcd90a19c0747
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= gdbm
7 PKG_VERSION:= 1.21
8 PKG_RELEASE:= 1
9 PKG_HASH:= b0b7dbdefd798de7ddccdd8edf6693a30494f7789777838042991ef107339cc2
10 PKG_DESCR:= disk file format database
11 PKG_SECTION:= libs/db
12 PKG_URL:= http://www.gnu.org/software/gdbm/
13 PKG_SITES:= ${MASTER_SITE_GNU:=gdbm/}
14 PKG_LIBNAME:= libgdbm
15 PKG_OPTS:= dev
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
19 include ${ADK_TOPDIR}/mk/package.mk
21 $(eval $(call PKG_template,LIBGDBM,libgdbm,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
23 XAKE_FLAGS+= BINOWN=`id -u` \
24 BINGRP=`id -g` \
25 INSTALL_ROOT="${WRKINST}"
27 libgdbm-install:
28 ${INSTALL_DIR} ${IDIR_LIBGDBM}/usr/lib
29 ${CP} ${WRKINST}/usr/lib/libgdbm.so* ${IDIR_LIBGDBM}/usr/lib
31 include ${ADK_TOPDIR}/mk/pkg-bottom.mk