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 include $(TOPDIR
)/package
/rules.mk
19 $(eval
$(call PKG_template
,DOSFSTOOLS
,dosfstools
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(ARCH
)))
21 $(PKG_BUILD_DIR
)/.configured
:
24 $(PKG_BUILD_DIR
)/.built
:
25 rm -rf
$(PKG_INSTALL_DIR
)
26 mkdir
-p
$(PKG_INSTALL_DIR
)
27 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
28 $(TARGET_CONFIGURE_OPTS
) \
29 OPTFLAGS
="$(TARGET_CFLAGS) -D_FILE_OFFSET_BITS=64" \
30 PREFIX
="$(PKG_INSTALL_DIR)" \
35 install -d
-m0755
$(IDIR_DOSFSTOOLS
)/sbin
36 cp
-fpR
$(PKG_INSTALL_DIR
)/sbin
/dosfsck
$(IDIR_DOSFSTOOLS
)/sbin
/
37 cp
-fpR
$(PKG_INSTALL_DIR
)/sbin
/fsck.
{msdos
,vfat
} $(IDIR_DOSFSTOOLS
)/sbin
/
38 cp
-fpR
$(PKG_INSTALL_DIR
)/sbin
/mkdosfs
$(IDIR_DOSFSTOOLS
)/sbin
/
39 cp
-fpR
$(PKG_INSTALL_DIR
)/sbin
/mkfs.
{msdos
,vfat
} $(IDIR_DOSFSTOOLS
)/sbin
/
40 $(RSTRIP
) $(IDIR_DOSFSTOOLS
)
41 $(IPKG_BUILD
) $(IDIR_DOSFSTOOLS
) $(PACKAGE_DIR
)