Changeset b9492d5 in freewrt for package/dosfstools


Ignore:
Timestamp:
Jan 20, 2007, 10:21:59 PM (19 years ago)
Author:
Phil Sutter <n0-1@…>
Children:
145c3b8
Parents:
de3cb1f5
Message:

merged from branches/common-adk 1310:1685

the following packages are not converted yet:

  • alsa
  • asterisk
  • pmacct
  • zaptel
  • elinks
  • libgd
  • lua
  • mypackage
  • openser
  • php*
  • snort*
  • tmsnc

additionally, freeradius doesn't compile.

happy fixing :P

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

Location:
package/dosfstools
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • package/dosfstools/Makefile

    rde3cb1f5 rb9492d5  
    55# or at http://www.freewrt.org/licence for details.
    66
    7 include $(TOPDIR)/rules.mk
     7include ${TOPDIR}/rules.mk
    88
    99PKG_NAME:=              dosfstools
     
    1111PKG_RELEASE:=           1
    1212PKG_MD5SUM:=            407d405ade410f7597d364ab5dc8c9f6
     13PKG_SOURCE:=            ${PKG_NAME}-${PKG_VERSION}.src.tar.gz
     14PKG_SOURCE_URL:=        ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools
    1315
    14 PKG_SOURCE_URL:=        ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/
    15 PKG_SOURCE:=            $(PKG_NAME)-$(PKG_VERSION).src.tar.gz
     16include ${TOPDIR}/mk/package.mk
    1617
    17 include $(TOPDIR)/mk/package.mk
     18$(eval $(call PKG_template,DOSFSTOOLS,dosfstools,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
    1819
    19 $(eval $(call PKG_template,DOSFSTOOLS,dosfstools,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
     20BUILD_STYLE=            auto
     21INSTALL_STYLE=          auto
     22XAKE_FLAGS+=            PREFIX="${WRKINST}" \
     23                        OPTFLAGS="${TARGET_CFLAGS} -D_FILE_OFFSET_BITS=64"
    2024
    21 $(WRKBUILD)/.configured:
    22         touch $@
     25post-install:
     26        ${INSTALL_DIR} ${IDIR_DOSFSTOOLS}/sbin
     27        ${CP} ${WRKINST}/sbin/dosfsck ${IDIR_DOSFSTOOLS}/sbin/
     28        ${CP} ${WRKINST}/sbin/fsck.{msdos,vfat} ${IDIR_DOSFSTOOLS}/sbin/
     29        ${CP} ${WRKINST}/sbin/mkdosfs ${IDIR_DOSFSTOOLS}/sbin/
     30        ${CP} ${WRKINST}/sbin/mkfs.{msdos,vfat} ${IDIR_DOSFSTOOLS}/sbin/
    2331
    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)
     32include ${TOPDIR}/mk/pkg-bottom.mk
Note: See TracChangeset for help on using the changeset viewer.