source: freewrt/package/tcp_wrappers/Makefile@ 655dec8

Last change on this file since 655dec8 was b9492d5, checked in by Phil Sutter <n0-1@…>, 19 years ago

merged from branches/common-adk 1310:1685

the following packages are not converted yet:

  • alsa
  • asterisk
  • pmacct
  • zaptel
  • elinks
  • libgd
  • lua
  • mypackage
  • openser
  • php*
  • snort*
  • tmsnc

additionally, freeradius doesn't compile.

happy fixing :P

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1686 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.3 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include ${TOPDIR}/rules.mk
8
9PKG_NAME:= tcp_wrappers
10PKG_VERSION:= 7.6
11PKG_RELEASE:= 1
12PKG_MD5SUM:= e6fa25f71226d090f34de3f6b122fb5a
13PKG_SOURCE_URL:= ftp://ftp.porcupine.org/pub/security
14PKG_SOURCE:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
15WRKDIST= ${WRKDIR}/${PKG_NAME}_${PKG_VERSION}
16
17include ${TOPDIR}/mk/package.mk
18
19$(eval $(call PKG_template,LIBWRAP,libwrap,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
20
21BUILD_STYLE:= auto
22ALL_TARGET:= tidy all
23MAKE_FLAGS+= OPT_CFLAGS="${TARGET_CFLAGS}" \
24 CC="${TARGET_CC}" \
25 LIBS=-lnsl \
26 NETGROUP= \
27 VSYSLOG= \
28 BUGS= \
29 EXTRA_CFLAGS="-DSYS_ERRLIST_DEFINED -DHAVE_STRERROR -DHAVE_WEAKSYMS -D_REENTRANT -DINET6=1 \
30 -Dss_family=__ss_family -Dss_len=__ss_len" \
31 FACILITY=LOG_DAEMON \
32 SEVERITY=LOG_INFO \
33 REAL_DAEMON_DIR=/usr/sbin \
34 STYLE="-DPROCESS_OPTIONS" \
35
36do-install:
37 ${INSTALL_DIR} ${IDIR_LIBWRAP}/usr/lib
38 ${INSTALL_DIR} ${IDIR_LIBWRAP}/usr/include
39 ${CP} ${WRKBUILD}/shared/libwrap.so.* ${IDIR_LIBWRAP}/usr/lib/
40 ${CP} ${WRKBUILD}/tcpd.h ${IDIR_LIBWRAP}/usr/include/
41 ${INSTALL_DIR} ${WRKINST}/usr/lib
42 ${CP} ${WRKBUILD}/shared/libwrap.so* ${WRKINST}/usr/lib/
43
44include ${TOPDIR}/mk/pkg-bottom.mk
Note: See TracBrowser for help on using the repository browser.