3 include $(TOPDIR
)/rules.mk
8 PKG_MD5SUM
:=407d405ade410f7597d364ab5dc8c9f6
10 PKG_SOURCE_URL
:=ftp
://ftp.uni-erlangen.de
/pub
/Linux
/LOCAL
/dosfstools
/
11 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).src.
tar.gz
14 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
15 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
17 BR2_PACKAGE_DOSFSTOOLS
=m
19 include $(TOPDIR
)/package
/rules.mk
21 $(eval
$(call PKG_template
,DOSFSTOOLS
,dosfstools
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
23 $(PKG_BUILD_DIR
)/.configured
:
26 $(PKG_BUILD_DIR
)/.built
:
27 rm -rf
$(PKG_INSTALL_DIR
)
28 mkdir
-p
$(PKG_INSTALL_DIR
)
29 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
30 $(TARGET_CONFIGURE_OPTS
) \
31 OPTFLAGS
="$(TARGET_CFLAGS) -D_FILE_OFFSET_BITS=64" \
32 PREFIX
="$(PKG_INSTALL_DIR)" \
37 install -d
-m0755
$(IDIR_DOSFSTOOLS
)/sbin
38 cp
-fpR
$(PKG_INSTALL_DIR
)/sbin
/dosfsck
$(IDIR_DOSFSTOOLS
)/sbin
/
39 cp
-fpR
$(PKG_INSTALL_DIR
)/sbin
/fsck.
{msdos
,vfat
} $(IDIR_DOSFSTOOLS
)/sbin
/
40 cp
-fpR
$(PKG_INSTALL_DIR
)/sbin
/mkdosfs
$(IDIR_DOSFSTOOLS
)/sbin
/
41 cp
-fpR
$(PKG_INSTALL_DIR
)/sbin
/mkfs.
{msdos
,vfat
} $(IDIR_DOSFSTOOLS
)/sbin
/
42 $(RSTRIP
) $(IDIR_DOSFSTOOLS
)
43 $(IPKG_BUILD
) $(IDIR_DOSFSTOOLS
) $(PACKAGE_DIR
)