3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=e6fa25f71226d090f34de3f6b122fb5a
10 PKG_SOURCE_URL
:=ftp
://ftp.porcupine.org
/pub
/security
11 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)_
$(PKG_VERSION
)
16 include $(TOPDIR
)/package
/rules.mk
18 #$(eval $(call PKG_template,LIBWRAP,libwrap,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
22 $(PKG_BUILD_DIR
)/.configured
:
25 $(PKG_BUILD_DIR
)/.built
:
26 $(MAKE
) -j1
-C
$(PKG_BUILD_DIR
) \
27 $(TARGET_CONFIGURE_OPTS
) \
28 OPT_CFLAGS
="$(TARGET_CFLAGS)" \
33 EXTRA_CFLAGS
="-DSYS_ERRLIST_DEFINED -DHAVE_STRERROR -DHAVE_WEAKSYMS -D_REENTRANT -DINET6=1 \
34 -Dss_family=__ss_family -Dss_len=__ss_len" \
37 REAL_DAEMON_DIR
=/usr
/sbin \
38 STYLE
="-DPROCESS_OPTIONS" \
43 install -d
-m0755
$(IDIR_LIBWRAP
)/usr
/lib
44 cp
-fpR
$(PKG_BUILD_DIR
)/shared
/libwrap.so.
* $(IDIR_LIBWRAP
)/usr
/lib
/
45 $(RSTRIP
) $(IDIR_LIBWRAP
)
46 $(IPKG_BUILD
) $(IDIR_LIBWRAP
) $(PACKAGE_DIR
)
48 $(STAGING_DIR
)/usr
/lib
/libwrap.a
: $(PKG_BUILD_DIR
)/.built
49 mkdir
-p
$(STAGING_DIR
)/usr
/include
50 cp
-fpR
$(PKG_BUILD_DIR
)/tcpd.h
$(STAGING_DIR
)/usr
/include/
51 mkdir
-p
$(STAGING_DIR
)/usr
/lib
52 cp
-fpR
$(PKG_BUILD_DIR
)/libwrap.a
$(STAGING_DIR
)/usr
/lib
/
53 # cp -fpR $(PKG_BUILD_DIR)/shared/libwrap.so* $(STAGING_DIR)/usr/lib/
56 install-dev
: $(STAGING_DIR
)/usr
/lib
/libwrap.a
60 $(STAGING_DIR
)/usr
/include/tcpd.h \
61 $(STAGING_DIR
)/usr
/lib
/libwrap.
{a
,so
*} \