Changeset 30285


Ignore:
Timestamp:
2012-02-05T17:40:00+01:00 (4 years ago)
Author:
jow
Message:

[packages_10.03.2] scmpc: merge r28968, r29199

Location:
branches/packages_10.03.2/sound/scmpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/packages_10.03.2/sound/scmpc/Makefile

    r25362 r30285  
    11# 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=scmpc 
    1111PKG_VERSION:=0.2.2 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=4 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     
    5050        $(INSTALL_BIN) ./files/scmpc.init $(1)/etc/init.d/scmpc 
    5151        $(INSTALL_DIR) $(1)/etc 
    52         $(CP) $(PKG_BUILD_DIR)/examples/scmpc.conf $(1)/etc 
     52        $(CP) $(PKG_BUILD_DIR)/examples/scmpc.conf $(1)/etc/ 
     53endef 
     54 
     55define Package/scmpc/conffiles 
     56/etc/scmpc.conf 
    5357endef 
    5458 
  • branches/packages_10.03.2/sound/scmpc/files/scmpc.init

    r9981 r30285  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
     3 
    34START=94 
    45 
     6SERVICE_USE_PID=1 
     7 
    58start() { 
    6         mkdir -p /var/lib/scmpc 
    7         /usr/bin/scmpc 
     9        mkdir -m 0755 -p /var/lib/scmpc 
     10        service_start /usr/bin/scmpc 
    811} 
    912 
    1013stop() { 
    11         killall scmpc 
     14        service_stop /usr/bin/scmpc 
    1215} 
Note: See TracChangeset for help on using the changeset viewer.