diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/palantir/Makefile |
Initial import
Diffstat (limited to 'package/palantir/Makefile')
-rw-r--r-- | package/palantir/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/package/palantir/Makefile b/package/palantir/Makefile new file mode 100644 index 000000000..a7e3e84ff --- /dev/null +++ b/package/palantir/Makefile @@ -0,0 +1,37 @@ +# $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:= palantir +PKG_VERSION:= 2.7 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 3a5b1fb340857f6d8e357bf39b77583e +MASTER_SITES:= http://www.fastpath.it/products/palantir/pub/ +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,PALANTIR,palantir,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +do-build: + mkdir -p ${WRKINST}/usr + ${MAKE} -C ${WRKBUILD}/server/libgsm \ + ${TARGET_CONFIGURE_OPTS} \ + CCINC="${TCPPFLAGS}" \ + lib/libgsm.a + ${MAKE} -C ${WRKBUILD}/server \ + ${TARGET_CONFIGURE_OPTS} \ + CFLAGS="-Wall -D_REENTRANT ${TCFLAGS} ${TCPPFLAGS} ${TLDFLAGS}" \ + palantir + +do-install: + ${INSTALL_DIR} ${IDIR_PALANTIR}/etc + ${INSTALL_DIR} ${IDIR_PALANTIR}/usr/sbin + ${INSTALL_DATA} ${WRKBUILD}/server/palantir-mips.conf.sample \ + ${IDIR_PALANTIR}/etc/palantir.conf + ${INSTALL_BIN} ${WRKBUILD}/server/palantir ${IDIR_PALANTIR}/usr/sbin/ + +include ${TOPDIR}/mk/pkg-bottom.mk |