Added ctorrent, statically compiled for the moment (need uClibc++ fixes)
[openwrt.git] / openwrt / package / raddump / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=raddump
6 PKG_VERSION:=0.3.1
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=f8c29c67141ea78bb6ae8b97d5149480
9 PKG_SOURCE_URL:=@SF/raddump
10 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
11 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
12 PKG_CAT:=zcat
13
14 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
15
16 include $(TOPDIR)/package/rules.mk
17
18 $(eval $(call PKG_template,RADDUMP,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
19
20 $(PKG_BUILD_DIR)/.configured:
21 (cd $(PKG_BUILD_DIR); rm -rf config.cache; \
22 $(TARGET_CONFIGURE_OPTS) \
23 CFLAGS="$(TARGET_CFLAGS)" \
24 ./configure \
25 ac_cv_c_bigendian=no \
26 ac_cv_func_malloc_0_nonnull=yes \
27 ac_cv_func_realloc_0_nonnull=yes \
28 $(DISABLE_NLS) \
29 --target=$(GNU_TARGET_NAME) \
30 --host=$(GNU_TARGET_NAME) \
31 --build=$(GNU_HOST_NAME) \
32 --prefix=/usr \
33 --exec-prefix=/usr \
34 --bindir=/usr/bin \
35 --sbindir=/usr/sbin \
36 --libexecdir=/usr/lib \
37 --sysconfdir=/etc \
38 --datadir=/usr/share \
39 --localstatedir=/var \
40 --mandir=/usr/man \
41 --infodir=/usr/info \
42 --program-prefix="" \
43 --with-gnu-ld \
44 );
45 touch $@
46
47 $(PKG_BUILD_DIR)/.built:
48 $(MAKE) DESTDIR=$(PKG_INSTALL_DIR) -C $(PKG_BUILD_DIR) install
49 touch $@
50
51 $(IPKG_RADDUMP):
52 mkdir -p $(IDIR_RADDUMP)
53 $(CP) $(PKG_INSTALL_DIR)/* $(IDIR_RADDUMP)/
54 $(RSTRIP) $(IDIR_RADDUMP)
55 $(IPKG_BUILD) $(IDIR_RADDUMP) $(PACKAGE_DIR)
This page took 0.055081 seconds and 5 git commands to generate.