3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=441b2e07219f78167b29a7ac33488fff
10 PKG_SOURCE_URL
:=@SF
/wput
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,WPUT
,wput
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
22 (cd
$(PKG_BUILD_DIR
); rm -rf config.
{cache
,status
} ; \
23 $(TARGET_CONFIGURE_OPTS
) \
24 CFLAGS
="$(TARGET_CFLAGS)" \
26 --target
=$(GNU_TARGET_NAME
) \
27 --host
=$(GNU_TARGET_NAME
) \
28 --build
=$(GNU_HOST_NAME
) \
34 --datadir=/usr
/share \
35 --includedir=/usr
/include \
36 --infodir=/usr
/share
/info \
38 --libexecdir
=/usr
/lib \
39 --localstatedir
=/var \
40 --mandir=/usr
/share
/man \
43 $(DISABLE_LARGEFILE
) \
51 $(PKG_BUILD_DIR
)/.built
:
52 $(MAKE
) -C
$(PKG_BUILD_DIR
)
56 install -d
-m0755
$(IDIR_WPUT
)/usr
/bin
57 install -m0755
$(PKG_BUILD_DIR
)/wput
$(IDIR_WPUT
)/usr
/bin
/
58 $(RSTRIP
) $(IDIR_WPUT
)
59 $(IPKG_BUILD
) $(IDIR_WPUT
) $(PACKAGE_DIR
)