summaryrefslogtreecommitdiff
path: root/package/osiris/Makefile
blob: 62a372ad343a50458d8852468c9e64d00802b0f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# $Id$
#-
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		osiris
PKG_VERSION:=		4.2.3
PKG_RELEASE:=		1
PKG_MD5SUM:=		1951c7dc0fe729af9ffaf58910340d12
MASTER_SITES:=		http://osiris.shmoo.com/data/

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,OSIRISD,osirisd,${PKG_VERSION}-${PKG_RELEASE}))

CONFIGURE_STYLE:=	gnu
CONFIGURE_ENV+=		ac_cv_openssldir="${STAGING_DIR}/usr" \
			ac_cv_have_accrights_in_msghdr=no \
			ac_cv_have_control_in_msghdr=yes
CONFIGURE_ARGS+=	--with-osiris-user=root \
			--with-root-dir=/var/lib/osiris \
			--with-readline=no
BUILD_STYLE:=		auto
INSTALL_STYLE:=		auto
XAKE_FLAGS+=		ar=${TARGET_CROSS}ar \
			INTERACTIVE=0
TCFLAGS+=		-DOPENSSL_NO_RIPEMD

post-configure:
	(cd ${WRKDIST}/src/osirisd/modules && ./genmods.sh);

post-install:
	${INSTALL_DIR} ${IDIR_OSIRISD}/etc/init.d
	${INSTALL_DIR} ${IDIR_OSIRISD}/usr/sbin
	${INSTALL_BIN} ./files/osirisd.init \
		${IDIR_OSIRISD}/etc/init.d/osirisd
	${INSTALL_BIN} ${WRKINST}/usr/sbin/osirisd \
		${IDIR_OSIRISD}/usr/sbin/

include ${TOPDIR}/mk/pkg-bottom.mk