3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=552639142e163745f6bcd4f1f3816d8a
10 PKG_SOURCE_URL
:=http
://ftp.debian.org
/debian
/pool
/main
/l
/logrotate
11 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).orig.
tar.gz
13 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
14 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,LOGROTATE
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
: $(PKG_BUILD_DIR
)/.prepared
23 $(PKG_BUILD_DIR
)/.built
:
24 make
-C
${PKG_BUILD_DIR} \
25 CPPFLAGS
="-I$(STAGING_DIR)/usr/include" \
26 LDFLAGS
="-L$(STAGING_DIR)/usr/lib" \
27 CC
=$(TARGET_CC
) logrotate
31 mkdir
-p
$(IDIR_LOGROTATE
)/usr
/sbin
32 $(CP
) ${PKG_BUILD_DIR}/logrotate
$(IDIR_LOGROTATE
)/usr
/sbin
33 mkdir
-p
$(IDIR_LOGROTATE
)/etc
/logrotate.d
34 $(CP
) .
/files
/logrotate.conf
$(IDIR_LOGROTATE
)/etc
35 $(RSTRIP
) $(IDIR_LOGROTATE
)
36 $(IPKG_BUILD
) $(IDIR_LOGROTATE
) $(PACKAGE_DIR
)
39 make
-C
$(PKG_BUILD_DIR
) clean
40 rm $(PKG_BUILD_DIR
)/.built
This page took 0.047166 seconds and 5 git commands to generate.