[packages] mpdas: remove /usr/local PREFIX
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27709 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cdd33e8f14
commit
8ceec3f1de
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=mpdas
|
PKG_NAME:=mpdas
|
||||||
PKG_VERSION:=0.3.0
|
PKG_VERSION:=0.3.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://50hz.ws/mpdas
|
PKG_SOURCE_URL:=http://50hz.ws/mpdas
|
||||||
|
@ -1,12 +1,19 @@
|
|||||||
--- a/Makefile
|
Index: mpdas-0.3.0/Makefile
|
||||||
+++ b/Makefile
|
===================================================================
|
||||||
@@ -7,8 +7,8 @@ PREFIX = /usr/local
|
--- mpdas-0.3.0.orig/Makefile 2010-11-22 02:15:12.000000000 +0100
|
||||||
MANPREFIX = ${PREFIX}/man/man1
|
+++ mpdas-0.3.0/Makefile 2011-07-20 16:53:31.000000000 +0200
|
||||||
CONFIG = $(PREFIX)/etc
|
@@ -3,12 +3,12 @@
|
||||||
|
CXX ?= g++
|
||||||
|
OBJ = main.o md5.o utils.o mpd.o audioscrobbler.o cache.o config.o
|
||||||
|
OUT = mpdas
|
||||||
|
-PREFIX ?= /usr/local
|
||||||
|
+PREFIX ?= /
|
||||||
|
MANPREFIX ?= ${PREFIX}/man/man1
|
||||||
|
CONFIG ?= $(PREFIX)/etc
|
||||||
|
|
||||||
-CXXFLAGS += `pkg-config --cflags libmpd libcurl`
|
-CXXFLAGS += `pkg-config --cflags libmpd libcurl`
|
||||||
-LIBS = `pkg-config --libs libmpd libcurl`
|
-LIBS = `pkg-config --libs libmpd libcurl`
|
||||||
+CXXFLAGS += $(CPPFLAGS) `pkg-config --cflags libmpd libcurl`
|
+CXXFLAGS += $(CPPFLAGS) `pkg-config --cflags libmpd libcurl`
|
||||||
+LIBS = $(LDFLAGS) `pkg-config --libs libmpd libcurl`
|
+LIBS = $(LDFLAGS) `pkg-config --libs libmpd libcurl`
|
||||||
|
|
||||||
CXXFLAGS += -DCONFDIR="\"$(CONFIG)\"" -DVERSION="\"$(VERSION)\""
|
CXXFLAGS += -DCONFDIR="\"$(CONFIG)\"" -DVERSION="\"$(VERSION)\""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user