1 include $(TOPDIR
)/rules.mk
6 PKG_MD5SUM
:=f8c29c67141ea78bb6ae8b97d5149480
7 PKG_SOURCE_URL
:=@SF
/raddump
8 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
9 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
12 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
14 include $(TOPDIR
)/package
/rules.mk
16 $(eval
$(call PKG_template
,RADDUMP
,$(PKG_NAME
),$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
18 $(PKG_BUILD_DIR
)/.configured
:
19 (cd
$(PKG_BUILD_DIR
); rm -rf config.cache
; \
20 $(TARGET_CONFIGURE_OPTS
) \
21 CFLAGS
="$(TARGET_CFLAGS)" \
23 ac_cv_c_bigendian
=no \
24 ac_cv_func_malloc_0_nonnull
=yes \
25 ac_cv_func_realloc_0_nonnull
=yes \
27 --target
=$(GNU_TARGET_NAME
) \
28 --host
=$(GNU_TARGET_NAME
) \
29 --build
=$(GNU_HOST_NAME
) \
34 --libexecdir
=/usr
/lib \
36 --datadir=/usr
/share \
37 --localstatedir
=/var \
45 $(PKG_BUILD_DIR
)/.built
:
46 $(MAKE
) DESTDIR
=$(PKG_INSTALL_DIR
) -C
$(PKG_BUILD_DIR
) install
50 mkdir
-p
$(IDIR_RADDUMP
)
51 cp
-fpR
$(PKG_INSTALL_DIR
)/* $(IDIR_RADDUMP
)/
52 $(RSTRIP
) $(IDIR_RADDUMP
)
53 $(IPKG_BUILD
) $(IDIR_RADDUMP
) $(PACKAGE_DIR
)