blob: 75760a2503cfc8904211c2a4bc8c7fad693c4733 (
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
|
# $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:= fakeidentd
PKG_VERSION:= 2.5
PKG_RELEASE:= 1
PKG_MD5SUM:= ebf398bd1843a1fd8c71f5fcf4a6e4f7
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
MASTER_SITES:= http://distfiles.gentoo.org/distfiles/
WRKDIST= ${WRKDIR}
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,FAKEIDENTD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
do-build:
${TARGET_CC} -o ${WRKBUILD}/${PKG_NAME} ${WRKBUILD}/identd.c
do-install:
${INSTALL_DIR} ${IDIR_FAKEIDENTD}/usr/sbin
${INSTALL_DIR} ${IDIR_FAKEIDENTD}/etc/init.d
${INSTALL_BIN} ${WRKBUILD}/fakeidentd ${IDIR_FAKEIDENTD}/usr/sbin/
${CP} ./files/${PKG_NAME}.init \
${IDIR_FAKEIDENTD}/etc/init.d/${PKG_NAME}
include ${TOPDIR}/mk/pkg-bottom.mk
|