Standardize package Config.in, change prompt to package name + short description...
[openwrt.git] / openwrt / package / htpdate / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=htpdate
6 PKG_VERSION:=0.7.2
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=5b5ab483bdb3ebe155c72197e1b885f6
9
10 PKG_SOURCE_URL:=http://www.clevervest.com/htp/archive/c/
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
16
17 include $(TOPDIR)/package/rules.mk
18
19 $(eval $(call PKG_template,HTPDATE,htpdate,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.configured:
22 touch $(PKG_BUILD_DIR)/.configured
23
24 $(PKG_BUILD_DIR)/.built:
25 $(MAKE) -C $(PKG_BUILD_DIR) \
26 $(TARGET_CONFIGURE_OPTS) \
27 CFLAGS="$(TARGET_CFLAGS)"
28 touch $(PKG_BUILD_DIR)/.built
29
30 $(IPKG_HTPDATE):
31 install -d -m0755 $(IDIR_HTPDATE)/etc/default/
32 install -m0644 ./files/htpdate.default $(IDIR_HTPDATE)/etc/default/htpdate
33 install -d -m0755 $(IDIR_HTPDATE)/etc/init.d/
34 install -m0755 ./files/htpdate.init $(IDIR_HTPDATE)/etc/init.d/htpdate
35 install -d -m0755 $(IDIR_HTPDATE)/usr/sbin
36 cp -fpR $(PKG_BUILD_DIR)/htpdate $(IDIR_HTPDATE)/usr/sbin/
37 $(RSTRIP) $(IDIR_HTPDATE)
38 $(IPKG_BUILD) $(IDIR_HTPDATE) $(PACKAGE_DIR)
39
This page took 0.051811 seconds and 5 git commands to generate.