Changeset b9492d5 in freewrt for package/openobex


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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package/openobex/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:=              openobex
     
    1414PKG_SOURCE_URL:=        @SF/openobex
    1515
    16 include $(TOPDIR)/mk/package.mk
     16include ${TOPDIR}/mk/package.mk
    1717
    18 $(eval $(call PKG_template,OPENOBEX,openobex,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
     18$(eval $(call PKG_template,OPENOBEX,openobex,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
    1919
    20 $(WRKBUILD)/.configured:
    21         (cd $(WRKBUILD); rm -rf config.{cache,status} ; \
    22                 $(TARGET_CONFIGURE_OPTS) \
    23                 CFLAGS="$(TARGET_CFLAGS)" \
    24                 CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
    25                 LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
    26                 ./configure \
    27                         --target=$(GNU_TARGET_NAME) \
    28                         --host=$(GNU_TARGET_NAME) \
    29                         --build=$(GNU_HOST_NAME) \
    30                         --program-prefix="" \
    31                         --program-suffix="" \
    32                         --prefix=/usr \
    33                         --exec-prefix=/usr \
    34                         --bindir=/usr/bin \
    35                         --datadir=/usr/share \
    36                         --includedir=/usr/include \
    37                         --infodir=/usr/share/info \
    38                         --libdir=/usr/lib \
    39                         --libexecdir=/usr/lib \
    40                         --localstatedir=/var \
    41                         --mandir=/usr/share/man \
    42                         --sbindir=/usr/sbin \
    43                         --sysconfdir=/etc \
    44                         --disable-nls \
    45                         --enable-shared \
    46                         --enable-static \
    47                         --disable-rpath \
    48         )
    49         touch $@
     20CONFIGURE_STYLE:=       gnu
     21CONFIGURE_ARGS+=        PKG_CONFIG=""
     22INSTALL_STYLE:=         auto
    5023
    51 $(WRKBUILD)/.built:
    52         $(MAKE) -C $(WRKBUILD) \
    53                 DESTDIR="$(WRKINST)" \
    54                 install
    55         touch $@
     24post-install:
     25        ${INSTALL_DIR} ${IDIR_OPENOBEX}/usr/lib
     26        ${CP} ${WRKINST}/usr/lib/libopenobex.so* ${IDIR_OPENOBEX}/usr/lib/
    5627
    57 $(IPKG_OPENOBEX):
    58         $(INSTALL_DIR) $(IDIR_OPENOBEX)/usr/lib
    59         $(CP) $(WRKINST)/usr/lib/libopenobex.so* $(IDIR_OPENOBEX)/usr/lib/
    60         $(RSTRIP) $(IDIR_OPENOBEX)
    61         $(IPKG_BUILD) $(IDIR_OPENOBEX) $(PACKAGE_DIR)
    62 
    63 $(STAGING_DIR)/usr/lib/libopenobex.so: $(WRKBUILD)/.built
    64         $(INSTALL_DIR) $(STAGING_DIR)/usr/lib
    65         $(INSTALL_DIR) $(STAGING_DIR)/usr/include
    66         $(CP) $(WRKINST)/usr/include/openobex $(STAGING_DIR)/usr/include/
    67         $(CP) $(WRKINST)/usr/lib/libopenobex.so* $(STAGING_DIR)/usr/lib/
    68 
    69 install-dev: $(STAGING_DIR)/usr/lib/libopenobex.so
    70 
    71 uninstall-dev:
    72         rm -rf $(STAGING_DIR)/usr/lib/libopenobex.*
    73         rm -rf $(STAGING_DIR)/usr/include/openobex
    74 
    75 compile-targets: install-dev
    76 clean-targets: uninstall-dev
     28include ${TOPDIR}/mk/pkg-bottom.mk
Note: See TracChangeset for help on using the changeset viewer.