dependencys for quagga
[openwrt.git] / package / haserl / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=haserl
6 PKG_VERSION:=0.8.0
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=bd9195d086566f56634c0bcbbbcbebea
9
10 PKG_SOURCE_URL:=@SF/haserl
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,HASERL,haserl,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.configured:
22 (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
23 $(TARGET_CONFIGURE_OPTS) \
24 CFLAGS="$(TARGET_CFLAGS) -DMAX_UPLOAD_KB=8192" \
25 ./configure \
26 --target=$(GNU_TARGET_NAME) \
27 --host=$(GNU_TARGET_NAME) \
28 --build=$(GNU_HOST_NAME) \
29 --program-prefix="" \
30 --program-suffix="" \
31 --prefix=/usr \
32 --exec-prefix=/usr \
33 --bindir=/usr/bin \
34 --datadir=/usr/share \
35 --includedir=/usr/include \
36 --infodir=/usr/share/info \
37 --libdir=/usr/lib \
38 --libexecdir=/usr/lib \
39 --localstatedir=/var \
40 --mandir=/usr/share/man \
41 --sbindir=/usr/sbin \
42 --sysconfdir=/etc \
43 $(DISABLE_LARGEFILE) \
44 $(DISABLE_NLS) \
45 )
46 touch $@
47
48 $(PKG_BUILD_DIR)/.built:
49 rm -rf $(PKG_INSTALL_DIR)
50 mkdir -p $(PKG_INSTALL_DIR)
51 $(MAKE) -C $(PKG_BUILD_DIR) \
52 DESTDIR="$(PKG_INSTALL_DIR)" \
53 all install
54 touch $@
55
56 $(IPKG_HASERL):
57 install -m0755 -d $(IDIR_HASERL)/usr/bin
58 cp -fpR $(PKG_INSTALL_DIR)/usr/bin/haserl $(IDIR_HASERL)/usr/bin/
59 $(RSTRIP) $(IDIR_HASERL)
60 $(IPKG_BUILD) $(IDIR_HASERL) $(PACKAGE_DIR)
61
This page took 0.052207 seconds and 5 git commands to generate.