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