summaryrefslogtreecommitdiff
path: root/package/osiris/Makefile
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/osiris/Makefile
Initial import
Diffstat (limited to 'package/osiris/Makefile')
-rw-r--r--package/osiris/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/package/osiris/Makefile b/package/osiris/Makefile
new file mode 100644
index 000000000..0cae63ab0
--- /dev/null
+++ b/package/osiris/Makefile
@@ -0,0 +1,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},${ARCH}))
+
+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