diff options
author | Memphiz <memphis@machzwo.de> | 2013-04-17 15:26:30 +0200 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2013-05-02 19:12:04 +0200 |
commit | 86527185d92d79f8510415a1bec6bb637ea4dcf9 (patch) | |
tree | 493cf3226490782693a6fb2a940b795fdf5e475a /tools/depends/target | |
parent | b63bcc3d4dae8ed5404f71bdb2abbc485526eb45 (diff) |
[depends] - add libshairplay
Diffstat (limited to 'tools/depends/target')
-rw-r--r-- | tools/depends/target/libshairplay/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tools/depends/target/libshairplay/Makefile b/tools/depends/target/libshairplay/Makefile new file mode 100644 index 0000000000..7665015564 --- /dev/null +++ b/tools/depends/target/libshairplay/Makefile @@ -0,0 +1,39 @@ +include ../../Makefile.include +DEPS= ../../Makefile.include + +# lib name, version +LIBNAME=shairplay +VERSION=139d5ef +SOURCE=$(LIBNAME)-$(VERSION) +ARCHIVE=$(SOURCE).tar.bz2 + +# configuration settings +CONFIGURE=./configure --prefix=$(PREFIX) + + +LIBDYLIB=$(PLATFORM)/src/lib/.libs/libshairplay.so.0.0.0 + +all: .installed-$(PLATFORM) + +$(TARBALLS_LOCATION)/$(ARCHIVE): + cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE) + +$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS) + rm -rf $(PLATFORM); mkdir -p $(PLATFORM) + cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) + cd $(PLATFORM); $(AUTORECONF) -vif + cd $(PLATFORM); $(CONFIGURE) + +$(LIBDYLIB): $(PLATFORM) + $(MAKE) -j 1 -C $(PLATFORM) + +.installed-$(PLATFORM): $(LIBDYLIB) + $(MAKE) -C $(PLATFORM) install + touch $@ + +clean: + rm -rf $(PLATFORM) .installed-$(PLATFORM) + +distclean:: + rm -rf $(PLATFORM) .installed-$(PLATFORM) + |