diff options
author | Cory Fields <theuni-nospam-@xbmc.org> | 2013-03-13 16:33:12 -0400 |
---|---|---|
committer | Cory Fields <theuni-nospam-@xbmc.org> | 2013-03-13 16:33:12 -0400 |
commit | c1a10d7e3cb04eb1644a5d469b97b6128d1aab90 (patch) | |
tree | 74ff26a8b5b0747787a7a4af529a010fcd51c926 /tools/depends/native | |
parent | 387ec7d25158c99f7fc4ae9cac3a7f3341a74642 (diff) |
depends: add setuptools for build-side python
Diffstat (limited to 'tools/depends/native')
-rw-r--r-- | tools/depends/native/Makefile | 3 | ||||
-rw-r--r-- | tools/depends/native/setuptools-native/Makefile | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/tools/depends/native/Makefile b/tools/depends/native/Makefile index 24c2ae0c33..39f0f178e4 100644 --- a/tools/depends/native/Makefile +++ b/tools/depends/native/Makefile @@ -9,7 +9,7 @@ NATIVE= m4-native gettext-native autoconf-native automake-native \ gas-preprocessor-native python26-native zlib-native \ pcre-native swig-native rpl-native libsdl_image-native \ tiff-native libpng-native libjpeg-turbo-native liblzo2-native \ - libsdl-native + libsdl-native setuptools-native ifeq ($(OS),ios) @@ -29,6 +29,7 @@ libpng-native: zlib-native tiff-native: libjpeg-turbo-native swig-native: pcre-native libsdl_image-native: libsdl-native libpng-native libjpeg-turbo-native tiff-native +setuptools-native: python26-native #liblzo2 has stale packaged automake files that cause borked host/build detection liblzo2-native: automake-native diff --git a/tools/depends/native/setuptools-native/Makefile b/tools/depends/native/setuptools-native/Makefile new file mode 100644 index 0000000000..da5cf7e5ee --- /dev/null +++ b/tools/depends/native/setuptools-native/Makefile @@ -0,0 +1,25 @@ +include ../../Makefile.include +PREFIX=$(NATIVEPREFIX) +PLATFORM=$(NATIVEPLATFORM) +DEPS= ../../Makefile.include.in Makefile + +# lib name, version +LIBNAME=setuptools +VERSION=0.6c11-py2.6 +ARCHIVE=$(LIBNAME)-$(VERSION).egg + +all: .installed-$(PLATFORM) + +$(TARBALLS_LOCATION)/$(ARCHIVE): + cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE) + cd $(TARBALLS_LOCATION); chmod +x $(ARCHIVE) + +.installed-$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) + cd $(TARBALLS_LOCATION); ./$(ARCHIVE) --prefix=$(PREFIX) + touch $@ + +clean: + rm -f .installed-$(PLATFORM) + +distclean:: + rm -rf $(PLATFORM) .installed-$(PLATFORM) |