Changeset 9960d99 in freewrt


Ignore:
Timestamp:
Jan 6, 2007, 3:15:31 PM (19 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Children:
b3e64d0
Parents:
e565480
Message:

convert 6tunnel

git-svn-id: svn://www.freewrt.org/branches/common-adk@1417 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package/6tunnel/Makefile

    re565480 r9960d99  
    1111PKG_RELEASE:=           1
    1212PKG_MD5SUM:=            b325fa9d238e32195fbb3fc3646b0d28
    13 
    1413PKG_SOURCE_URL:=        http://toxygen.net/6tunnel/
    15 PKG_SOURCE:=            $(PKG_NAME)-$(PKG_VERSION).tar.gz
    16 
    1714WRKSRC=                 ${WRKDIR}/$(PKG_NAME)-0.11
    1815
     
    2118$(eval $(call PKG_template,6TUNNEL,6tunnel,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
    2219
    23 $(WRKBUILD)/.configured:
    24         (cd $(WRKBUILD); rm -rf config.{cache,status}; \
    25                 $(TARGET_CONFIGURE_OPTS) \
    26                 CFLAGS="$(TARGET_CFLAGS)" \
    27                 ac_cv_path_STRIP=$(STRIP) \
    28                 ac_cv_func_vsnprintf=yes \
    29                 ./configure \
    30                         --target=$(GNU_TARGET_NAME) \
    31                         --host=$(GNU_TARGET_NAME) \
    32                         --build=$(GNU_HOST_NAME) \
    33                         --program-prefix="" \
    34                         --program-suffix="" \
    35                         --prefix=/usr \
    36                         --exec-prefix=/usr \
    37                         --bindir=/usr/sbin \
    38                         --datadir=/usr/share \
    39                         --includedir=/usr/include \
    40                         --infodir=/usr/share/info \
    41                         --libdir=/usr/lib \
    42                         --libexecdir=/usr/lib \
    43                         --localstatedir=/var \
    44                         --mandir=/usr/share/man \
    45                         --sbindir=/usr/sbin \
    46                         --sysconfdir=/etc \
    47                         --disable-nls \
    48         );
    49         touch $@
     20CONFIGURE_STYLE=        gnu
     21CONFIGURE_ENV+=         ac_cv_path_STRIP=$(STRIP) \
     22                        ac_cv_func_vsnprintf=yes
    5023
    51 $(WRKBUILD)/.built:
    52         $(MAKE) -C $(WRKBUILD) \
    53                 default
    54         touch $@
     24do-build:
     25        $(MAKE) -C $(WRKBUILD) default
    5526
    56 $(IPKG_6TUNNEL):
     27post-install:
    5728        $(INSTALL_DIR) $(IDIR_6TUNNEL)/usr/sbin
    5829        $(INSTALL_BIN) $(WRKBUILD)/6tunnel $(IDIR_6TUNNEL)/usr/sbin/
    59         $(RSTRIP) $(IDIR_6TUNNEL)
    60         $(IPKG_BUILD) $(IDIR_6TUNNEL) $(PACKAGE_DIR)
    6130
    6231include ${TOPDIR}/mk/pkg-bottom.mk
Note: See TracChangeset for help on using the changeset viewer.