aboutsummaryrefslogtreecommitdiff
path: root/lib/libcec
diff options
context:
space:
mode:
authorLars Op den Kamp <lars@opdenkamp.eu>2012-03-19 16:50:03 +0100
committerLars Op den Kamp <lars@opdenkamp.eu>2012-03-27 16:05:14 +0200
commita4dcf1ccebe7c1922f4dcbd67eafe2f5e0f41b88 (patch)
tree32f793ec2648a2f16cdf9189adea943dd370c362 /lib/libcec
parent689be59469fc316404a063ea98e4758c97c077d0 (diff)
cec: get libCEC-latest from packages.pulse-eight.net, so it can be updated separately, e.g. to add vendor support
Diffstat (limited to 'lib/libcec')
-rw-r--r--lib/libcec/Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/libcec/Makefile b/lib/libcec/Makefile
index 27eb5d27f3..ec307c4f3e 100644
--- a/lib/libcec/Makefile
+++ b/lib/libcec/Makefile
@@ -7,17 +7,17 @@
# lib name, version
LIBNAME=libcec
-VERSION=1.5.1
+VERSION=latest
SOURCE=$(LIBNAME)-$(VERSION)
# download location and format
-BASE_URL=http://mirrors.xbmc.org/build-deps/darwin-libs
-ARCHIVE=$(SOURCE).tar.gz
+BASE_URL=http://packages.pulse-eight.net/pulse/sources/libcec
+ARCHIVE=$(SOURCE).tar.bz2
TARBALLS_LOCATION=.
RETRIEVE_TOOL=/usr/bin/curl
RETRIEVE_TOOL_FLAGS=-Ls --create-dirs --output $(TARBALLS_LOCATION)/$(ARCHIVE)
ARCHIVE_TOOL=tar
-ARCHIVE_TOOL_FLAGS=xf
+ARCHIVE_TOOL_FLAGS=jxf
PREFIX ?= /usr/local
LIBCEC_CONFIGOPTS ?= --prefix=$(PREFIX)
@@ -25,30 +25,30 @@ LIBCEC_CONFIGOPTS ?= --prefix=$(PREFIX)
# configuration settings
CONFIGURE=./configure CFLAGS=-D_FILE_OFFSET_BITS=64 $(LIBCEC_CONFIGOPTS)
-SO_NAME=$(SOURCE)/.libs/$(LIBNAME).so
+SO_NAME=$(LIBNAME)/.libs/$(LIBNAME).so
all: $(SO_NAME)
$(TARBALLS_LOCATION)/$(ARCHIVE):
$(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE)
-$(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE)
- rm -rf $(SOURCE)
+$(LIBNAME): $(TARBALLS_LOCATION)/$(ARCHIVE)
+ rm -rf $(LIBNAME)
$(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
- echo $(SOURCE) > .gitignore
- cd $(SOURCE); autoreconf -vif
- cd $(SOURCE); $(CONFIGURE)
+ echo $(LIBNAME) > .gitignore
+ cd $(LIBNAME); autoreconf -vif
+ cd $(LIBNAME); $(CONFIGURE)
-$(SO_NAME): $(SOURCE)
- make -j 1 -C $(SOURCE)
+$(SO_NAME): $(LIBNAME)
+ make -j 1 -C $(LIBNAME)
install:
- make -C $(SOURCE) install
+ make -C $(LIBNAME) install
ldconfig
clean:
- rm -rf $(SOURCE)
+ rm -rf $(LIBNAME)
distclean::
- rm -rf $(SOURCE)
+ rm -rf $(LIBNAME)