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