remove spurious spaces
[openwrt.git] / openwrt / package / dosfstools / Makefile
1 # $Id$
2
3 include $(TOPDIR)/rules.mk
4
5 PKG_NAME:=dosfstools
6 PKG_VERSION:=2.11
7 PKG_RELEASE:=1
8 PKG_MD5SUM:=407d405ade410f7597d364ab5dc8c9f6
9
10 PKG_SOURCE_URL:=ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).src.tar.gz
12 PKG_CAT:=zcat
13
14 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
16
17 include $(TOPDIR)/package/rules.mk
18
19 $(eval $(call PKG_template,DOSFSTOOLS,dosfstools,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21 $(PKG_BUILD_DIR)/.configured:
22 touch $@
23
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)" \
31 all install
32 touch $@
33
34 $(IPKG_DOSFSTOOLS):
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)
42
This page took 0.041108 seconds and 5 git commands to generate.