3 include $(TOPDIR
)/rules.mk
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
)
14 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
16 include $(TOPDIR
)/package
/rules.mk
18 $(eval
$(call PKG_template
,RADDUMP
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
20 $(PKG_BUILD_DIR
)/.configured
:
21 (cd
$(PKG_BUILD_DIR
); rm -rf config.cache
; \
22 $(TARGET_CONFIGURE_OPTS
) \
23 CFLAGS
="$(TARGET_CFLAGS)" \
25 ac_cv_c_bigendian
=no \
26 ac_cv_func_malloc_0_nonnull
=yes \
27 ac_cv_func_realloc_0_nonnull
=yes \
29 --target
=$(GNU_TARGET_NAME
) \
30 --host
=$(GNU_TARGET_NAME
) \
31 --build
=$(GNU_HOST_NAME
) \
36 --libexecdir
=/usr
/lib \
38 --datadir=/usr
/share \
39 --localstatedir
=/var \
47 $(PKG_BUILD_DIR
)/.built
:
48 $(MAKE
) DESTDIR
=$(PKG_INSTALL_DIR
) -C
$(PKG_BUILD_DIR
) install
52 mkdir
-p
$(IDIR_RADDUMP
)
53 $(CP
) $(PKG_INSTALL_DIR
)/* $(IDIR_RADDUMP
)/
54 $(RSTRIP
) $(IDIR_RADDUMP
)
55 $(IPKG_BUILD
) $(IDIR_RADDUMP
) $(PACKAGE_DIR
)