Changeset 18913


Ignore:
Timestamp:
2009-12-24T04:58:09+01:00 (8 years ago)
Author:
nico
Message:

[packages] openslp: use PKG_INSTALL, move daemon in /usr/sbin and libraries in /usr/lib, bump release number

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/openslp/Makefile

    r16438 r18913  
    11# 
    2 # Copyright (C) 2008 OpenWrt.org 
     2# Copyright (C) 2008-2009 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=openslp 
    1111PKG_VERSION:=1.2.1 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=@SF/openslp 
    1616PKG_MD5SUM:=ff9999d1b44017281dd00ed2c4d32330 
     17 
     18PKG_INSTALL:=1 
    1719 
    1820include $(INCLUDE_DIR)/package.mk 
     
    3335 
    3436define Package/openslp/install 
    35         $(INSTALL_DIR) $(1)/etc $(1)/lib $(1)/usr/bin $(1)/etc/init.d 
    36         $(INSTALL_BIN) $(PKG_BUILD_DIR)/slpd/slpd $(1)/usr/bin/ 
    37         $(INSTALL_BIN) $(PKG_BUILD_DIR)/slptool/.libs/slptool $(1)/usr/bin/ 
    38         $(CP) $(PKG_BUILD_DIR)/libslp/.libs/libslp.so* $(1)/lib 
    39         $(INSTALL_DATA) ./files/etc/slp.* $(1)/etc 
    40         $(INSTALL_BIN) ./files/etc/init.d/* $(1)/etc/init.d 
     37        $(INSTALL_DIR) $(1)/usr/lib 
     38        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libslp.so.* $(1)/usr/lib/ 
     39        $(INSTALL_DIR) $(1)/usr/bin 
     40        $(CP) $(PKG_INSTALL_DIR)/usr/bin/slptool $(1)/usr/bin/ 
     41        $(INSTALL_DIR) $(1)/usr/sbin 
     42        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/slpd $(1)/usr/sbin/ 
     43        $(INSTALL_DIR) $(1)/etc 
     44        $(INSTALL_DATA) ./files/etc/slp.* $(1)/etc/ 
     45        $(INSTALL_DIR) $(1)/etc/init.d 
     46        $(INSTALL_BIN) ./files/etc/init.d/* $(1)/etc/init.d/ 
    4147endef 
    4248 
Note: See TracChangeset for help on using the changeset viewer.