summaryrefslogtreecommitdiff
path: root/package/heimdal/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-22 19:29:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-22 19:29:20 +0200
commitd279b5d1fe744cac44da7cd1b51f9ba6a2cc4647 (patch)
treebf575aca8f9ce9cf088ce3aee992fc846cd6e130 /package/heimdal/Makefile
parent32a82e38679501da738199135b35f93ddc8aca0a (diff)
fix libmix packages, while checking all packages make some style cleanup
Diffstat (limited to 'package/heimdal/Makefile')
-rw-r--r--package/heimdal/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/package/heimdal/Makefile b/package/heimdal/Makefile
index 68f99f770..a39c76bf7 100644
--- a/package/heimdal/Makefile
+++ b/package/heimdal/Makefile
@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= heimdal
PKG_VERSION:= 1.5.2
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= bb23d9dbdafd395d816f7abc598481a1
PKG_DESCR:= Kerberos 5 server
PKG_SECTION:= crypto
@@ -14,6 +14,8 @@ PKG_DEPENDS:= libheimdal libncurses libcom-err libreadline libopenssl
PKG_URL:= http://www.h5l.org/
PKG_SITES:= http://www.h5l.org/dist/src/
PKG_NOPARALLEL:= 1
+PKG_LIBNAME:= libheimdal
+PKG_OPTS:= dev
PKG_SUBPKGS:= HEIMDAL_SERVER LIBHEIMDAL
PKGSD_LIBHEIMDAL:= Kerberos 5 libraries
@@ -30,10 +32,14 @@ PKGCD_WITH_BDB:= use Berkeley DB as database backend
PKGCS_WITH_BDB:= libdb
PKGCB_WITH_BDB:= db
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS+= libmix
+endif
+
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,HEIMDAL_SERVER,heimdal-server,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBHEIMDAL,libheimdal,$(PKG_VERSION)-${PKG_RELEASE},,${PKGSD_LIBHEIMDAL},${PKGSC_LIBHEIMDAL}))
+$(eval $(call PKG_template,LIBHEIMDAL,libheimdal,$(PKG_VERSION)-${PKG_RELEASE},,${PKGSD_LIBHEIMDAL},${PKGSC_LIBHEIMDAL},${PKG_OPTS}))
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
CONFIGURE_OPTS:= --with-hdbdir=/etc/heimdal \
@@ -100,7 +106,7 @@ post-extract:
${MAKE} -C ${WRKBUILD}/lib/roken clean
${MAKE} -C ${WRKBUILD} clean
-post-install:
+heimdal-server-install:
ifeq (${ADK_COMPILE_HEIMDAL_WITH_DB_LDAP},y)
${INSTALL_DIR} ${IDIR_HEIMDAL_SERVER}/etc/openldap/schema
${INSTALL_DATA} ${WRKBUILD}/lib/hdb/hdb.schema \
@@ -129,7 +135,8 @@ endif
${IDIR_HEIMDAL_SERVER}/usr/sbin/
${INSTALL_BIN} ${WRKINST}/usr/sbin/kadmin \
${IDIR_HEIMDAL_SERVER}/usr/sbin/
- # heimdal libs
+
+libheimdal-install:
${INSTALL_DIR} ${IDIR_LIBHEIMDAL}/usr/lib/heimdal
ifeq ($(ADK_COMPILE_HEIMDAL_WITH_PKINIT),y)
${CP} ${WRKINST}/usr/lib/heimdal/libhx509.so* \