Changeset 10526


Ignore:
Timestamp:
2008-02-26T20:23:25+01:00 (8 years ago)
Author:
olli
Message:

[Packages] libs/libgphoto2: Update to 2.4.0

Location:
packages/libs/libgphoto2
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/libgphoto2/Makefile

    r9907 r10526  
    1 #  
    2 # Copyright (C) 2006 OpenWrt.org 
     1# 
     2# Copyright (C) 2006-2008 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010 
    1111PKG_NAME:=libgphoto2 
    12 PKG_VERSION:=2.3.1 
     12PKG_VERSION:=2.4.0 
    1313PKG_RELEASE:=1 
    1414 
    1515PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
    1616PKG_SOURCE_URL:=@SF/gphoto 
    17 PKG_MD5SUM:=37f85e34e5b6031ddf6cac8b8782ac4f 
     17PKG_MD5SUM:=a60154772635b693ff08b4f34dea7f61 
    1818 
    19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
    20 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install 
     19PKG_FIXUP = libtool 
    2120 
    2221include $(INCLUDE_DIR)/package.mk 
    23  
    2422 
    2523define Package/libgphoto2/Default 
     
    4240endef 
    4341 
    44 define Build/Configure 
    45         $(call Build/Configure/Default, \ 
    46                 --enable-shared \ 
    47                 --enable-static \ 
    48                 --disable-rpath \ 
    49                 --with-drivers=all \ 
    50                 --without-included-ltdl \ 
    51                 --without-libiconv-prefix \ 
    52                 --without-libintl-prefix \ 
    53                 , \ 
    54                 CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/lib/libiconv/include" \ 
    55                 LDFLAGS="$$$$LDFLAGS -L$(STAGING_DIR)/usr/lib/libiconv/lib" \ 
    56                 LIBEXIF_CFLAGS="$$$$CPPFLAGS" \ 
    57                 LIBEXIF_LIBS="$$$$LDFLAGS -lexif" \ 
    58                 LIBUSB_CFLAGS="$$$$CPPFLAGS" \ 
    59                 LIBUSB_LIBS="$$$$LDFLAGS -lusb" \ 
    60                 LIBS="-lltdl" \ 
    61         ) 
    62 endef 
     42CONFIGURE_ARGS += \ 
     43        --enable-shared \ 
     44        --enable-static \ 
     45        --disable-rpath \ 
     46        --with-drivers=all \ 
     47        --without-included-ltdl \ 
     48        --without-libiconv-prefix \ 
     49        --without-libintl-prefix \ 
     50 
     51CONFIGURE_VARS += \ 
     52        CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/lib/libiconv/include" \ 
     53        LDFLAGS="$$$$LDFLAGS -L$(STAGING_DIR)/usr/lib/libiconv/lib" \ 
     54        LIBEXIF_CFLAGS="$$$$CPPFLAGS" \ 
     55        LIBEXIF_LIBS="$$$$LDFLAGS -lexif" \ 
     56        LIBUSB_CFLAGS="$$$$CPPFLAGS" \ 
     57        LIBUSB_LIBS="$$$$LDFLAGS -lusb" \ 
     58        LIBS="-lltdl" \ 
    6359 
    6460define Build/Compile 
Note: See TracChangeset for help on using the changeset viewer.