summaryrefslogtreecommitdiff
path: root/package/portsentry/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/portsentry/Makefile
Initial import
Diffstat (limited to 'package/portsentry/Makefile')
-rw-r--r--package/portsentry/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/portsentry/Makefile b/package/portsentry/Makefile
new file mode 100644
index 000000000..6fd433540
--- /dev/null
+++ b/package/portsentry/Makefile
@@ -0,0 +1,30 @@
+# $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:= portsentry
+PKG_VERSION:= 1.2
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 3ebd3618ba9abfea2525e236bd44cebd
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=sentrytools/}
+
+WRKDIST= ${WRKDIR}/${PKG_NAME}_beta
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,PORTSENTRY,portsentry,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+BUILD_STYLE:= auto
+ALL_TARGET:= linux
+MAKE_FLAGS+= CC="${TARGET_CC}" CFLAGS="${TCFLAGS}"
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_PORTSENTRY}/usr/bin \
+ ${IDIR_PORTSENTRY}/etc
+ ${INSTALL_DATA} ${WRKBUILD}/${PKG_NAME}.conf ${IDIR_PORTSENTRY}/etc/
+ ${INSTALL_BIN} ${WRKBUILD}/${PKG_NAME} ${IDIR_PORTSENTRY}/usr/bin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk