Ignore:
Timestamp:
2011-10-13T13:58:25+02:00 (5 years ago)
Author:
nico
Message:

[backfire/packages] libmicrohttpd: merge [28434]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/packages_10.03.1/libs/libmicrohttpd/Makefile

    r25573 r28435  
    1010PKG_NAME:=libmicrohttpd 
    1111PKG_VERSION:=0.4.4 
    12  
    13 ftp://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.4.4.tar.gz 
     12PKG_RELEASE:=1 
    1413 
    1514PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    2726  TITLE:=Microhttpd 
    2827  URL:=http://www.gnu.org/software/libmicrohttpd 
     28  DEPENDS:=+libpthread 
    2929endef 
    3030 
     
    3333endef 
    3434 
     35CONFIGURE_ARGS+= \ 
     36        --disable-curl \ 
     37        --disable-https \ 
     38 
    3539define Build/InstallDev  
    36         $(INSTALL_DIR) $(1)/usr/include/ 
    37         $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/ 
    38         $(INSTALL_DIR) $(1)/usr/lib/ 
    39         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmicrohttpd.so* $(1)/usr/lib/ 
     40        $(INSTALL_DIR) $(1)/usr/include 
     41        $(CP) $(PKG_INSTALL_DIR)/usr/include/microhttpd.h $(1)/usr/include/ 
     42        $(INSTALL_DIR) $(1)/usr/lib 
     43        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmicrohttpd.{a,so*} $(1)/usr/lib/ 
     44        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig 
     45        $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libmicrohttpd.pc $(1)/usr/lib/pkgconfig/ 
    4046endef 
    4147 
    4248define Package/libmicrohttpd/install 
    4349        $(INSTALL_DIR) $(1)/usr/lib 
    44         $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmicrohttpd.so* $(1)/usr/lib/ 
     50        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmicrohttpd.so.* $(1)/usr/lib/ 
    4551endef 
    4652 
Note: See TracChangeset for help on using the changeset viewer.