source: freewrt/package/dosfstools/Makefile@ 6fc4520e

freewrt_1_0 freewrt_2_0
Last change on this file since 6fc4520e was c8b93bd, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

major package Makefile cleanup. remove mostly-clean, add licence header, always use RSTRIP varibale for stripping, rename some init scripts, indent

git-svn-id: svn://www.freewrt.org/trunk/freewrt@600 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.2 KB
Line 
1# $FreeWRT$
2#-
3# This file is part of the FreeWRT project. FreeWRT is copyrighted
4# material, please see the LICENCE file in the top-level directory
5# or at http://www.freewrt.org/licence for details.
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:= dosfstools
10PKG_VERSION:= 2.11
11PKG_RELEASE:= 1
12PKG_MD5SUM:= 407d405ade410f7597d364ab5dc8c9f6
13
14PKG_SOURCE_URL:= ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/
15PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).src.tar.gz
16
17include $(TOPDIR)/mk/package.mk
18
19$(eval $(call PKG_template,DOSFSTOOLS,dosfstools,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
20
21$(WRKBUILD)/.configured:
22 touch $@
23
24$(WRKBUILD)/.built:
25 rm -rf $(WRKINST)
26 mkdir -p $(WRKINST)
27 $(MAKE) -C $(WRKBUILD) \
28 $(TARGET_CONFIGURE_OPTS) \
29 OPTFLAGS="$(TARGET_CFLAGS) -D_FILE_OFFSET_BITS=64" \
30 PREFIX="$(WRKINST)" \
31 all install
32 touch $@
33
34$(IPKG_DOSFSTOOLS):
35 install -d -m0755 $(IDIR_DOSFSTOOLS)/sbin
36 $(CP) $(WRKINST)/sbin/dosfsck $(IDIR_DOSFSTOOLS)/sbin/
37 $(CP) $(WRKINST)/sbin/fsck.{msdos,vfat} $(IDIR_DOSFSTOOLS)/sbin/
38 $(CP) $(WRKINST)/sbin/mkdosfs $(IDIR_DOSFSTOOLS)/sbin/
39 $(CP) $(WRKINST)/sbin/mkfs.{msdos,vfat} $(IDIR_DOSFSTOOLS)/sbin/
40 $(RSTRIP) $(IDIR_DOSFSTOOLS)
41 $(IPKG_BUILD) $(IDIR_DOSFSTOOLS) $(PACKAGE_DIR)
Note: See TracBrowser for help on using the repository browser.