update htpdate to new upstream release (v0.8.8)
[openwrt.git] / openwrt / package / deco / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=deco
4 PKG_VERSION:=39
5 PKG_RELEASE:=1
6 PKG_MD5SUM:=f77f60e8be0cae1f814cba1ef61bf4d0
7
8 PKG_SOURCE_URL:=@SF/deco
9 PKG_SOURCE:=$(PKG_NAME)$(PKG_VERSION).tgz
10
11 PKG_CAT:=zcat
12 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)$(PKG_VERSION)
13
14 include $(TOPDIR)/package/rules.mk
15
16 $(eval $(call PKG_template,DECO,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
17
18 $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
19 (cd $(PKG_BUILD_DIR); \
20 $(TARGET_CONFIGURE_OPTS) \
21 CFLAGS="$(TARGET_CFLAGS)" \
22 CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
23 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
24 ./configure \
25 --target=$(GNU_TARGET_NAME) \
26 --host=$(GNU_TARGET_NAME) \
27 --build=$(GNU_HOST_NAME) \
28 --program-prefix="" \
29 --program-suffix="" \
30 --prefix=/usr \
31 --exec-prefix=/usr \
32 --bindir=/usr/bin \
33 --datadir=/usr/share \
34 --includedir=/usr/include \
35 --infodir=/usr/share/info \
36 --libdir=/usr/lib \
37 --libexecdir=/usr/lib \
38 --localstatedir=/var \
39 --mandir=/usr/share/man \
40 --sbindir=/usr/sbin \
41 --sysconfdir=/etc \
42 $(DISABLE_LARGEFILE) \
43 $(DISABLE_NLS) \
44 );
45 touch $@
46
47 $(PKG_BUILD_DIR)/.built:
48 $(MAKE) -C $(PKG_BUILD_DIR)
49 touch $@
50
51 $(IPKG_DECO):
52 install -m0755 -d $(IDIR_DECO)/usr/bin
53 install -m0755 $(PKG_BUILD_DIR)/deco $(IDIR_DECO)/usr/bin/deco
54 install -m0755 -d $(IDIR_DECO)/usr/lib/deco
55 install -m0644 $(PKG_BUILD_DIR)/profile $(IDIR_DECO)/usr/lib/deco/profile
56 install -m0644 $(PKG_BUILD_DIR)/menu $(IDIR_DECO)/usr/lib/deco/menu
57 $(RSTRIP) $(IDIR_DECO)
58 $(IPKG_BUILD) $(IDIR_DECO) $(PACKAGE_DIR)
59
This page took 0.047442 seconds and 5 git commands to generate.