You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.4 KiB
72 lines
2.4 KiB
8 years ago
|
# makefile to build system libs (currently unused in ni-image)
|
||
|
|
||
|
$(ARCHIVE)/libxslt-git-snapshot.tar.gz:
|
||
|
$(WGET) ftp://xmlsoft.org/libxml2/libxslt-git-snapshot.tar.gz
|
||
|
|
||
|
$(D)/libxslt: $(D)/libxml2 $(ARCHIVE)/libxslt-git-snapshot.tar.gz | $(TARGETPREFIX)
|
||
|
$(UNTAR)/libxslt-git-snapshot.tar.gz
|
||
|
pushd $(BUILD_TMP)/libxslt-1.1.28 && \
|
||
|
$(CONFIGURE) \
|
||
|
--prefix= \
|
||
|
--enable-shared \
|
||
|
--disable-static \
|
||
|
--datarootdir=/.remove \
|
||
|
--without-crypto \
|
||
|
--without-python && \
|
||
|
$(MAKE) && \
|
||
|
$(MAKE) install DESTDIR=$(TARGETPREFIX)
|
||
|
mv $(TARGETPREFIX)/bin/xslt-config $(HOSTPREFIX)/bin
|
||
|
$(REWRITE_LIBTOOL)/libexslt.la
|
||
|
$(REWRITE_LIBTOOL)/libxslt.la
|
||
|
$(REWRITE_PKGCONF) $(PKG_CONFIG_PATH)/libexslt.pc
|
||
|
$(REWRITE_PKGCONF) $(PKG_CONFIG_PATH)/libxslt.pc
|
||
|
$(REWRITE_PKGCONF) $(HOSTPREFIX)/bin/xslt-config
|
||
|
rm -rf $(TARGETLIB)/libxslt-plugins/
|
||
|
rm -rf $(TARGETLIB)/xsltConf.sh
|
||
|
$(REMOVE)/libxslt-1.1.28
|
||
|
touch $@
|
||
|
|
||
|
LIBID3TAG_VER=0.15.1b
|
||
|
$(ARCHIVE)/libid3tag-$(LIBID3TAG_VER).tar.gz:
|
||
|
$(WGET) http://downloads.sourceforge.net/project/mad/libid3tag/$(LIBID3TAG_VER)/libid3tag-$(LIBID3TAG_VER).tar.gz
|
||
|
|
||
|
$(D)/libid3tag: $(D)/zlib $(ARCHIVE)/libid3tag-$(LIBID3TAG_VER).tar.gz | $(TARGETPREFIX)
|
||
|
$(UNTAR)/libid3tag-$(LIBID3TAG_VER).tar.gz
|
||
|
pushd $(BUILD_TMP)/libid3tag-$(LIBID3TAG_VER) && \
|
||
|
$(PATCH)/libid3tag.diff && \
|
||
|
$(CONFIGURE) \
|
||
|
--prefix= \
|
||
|
--enable-shared=yes && \
|
||
|
$(MAKE) all && \
|
||
|
make install DESTDIR=$(TARGETPREFIX) && \
|
||
|
sed "s!^prefix=.*!prefix=$(TARGETPREFIX)!;" id3tag.pc > $(PKG_CONFIG_PATH)/libid3tag.pc
|
||
|
$(REWRITE_LIBTOOL)/libid3tag.la
|
||
|
$(REMOVE)/libid3tag-$(LIBID3TAG_VER)
|
||
|
touch $@
|
||
|
|
||
|
LIBFLAC_VER=1.3.2
|
||
|
$(ARCHIVE)/flac-$(LIBFLAC_VER).tar.xz:
|
||
|
$(WGET) http://prdownloads.sourceforge.net/sourceforge/flac/flac-$(LIBFLAC_VER).tar.xz
|
||
|
|
||
|
$(D)/libFLAC: $(ARCHIVE)/flac-$(LIBFLAC_VER).tar.xz | $(TARGETPREFIX)
|
||
|
$(UNTAR)/flac-$(LIBFLAC_VER).tar.xz
|
||
|
cp -f $(HELPERS_DIR)/new_autoconfig/* $(BUILD_TMP)/flac-$(LIBFLAC_VER)
|
||
|
set -e; cd $(BUILD_TMP)/flac-$(LIBFLAC_VER); \
|
||
|
$(CONFIGURE) \
|
||
|
--prefix= \
|
||
|
--datarootdir=/.remove \
|
||
|
--enable-shared \
|
||
|
--disable-static \
|
||
|
--disable-cpplibs \
|
||
|
--disable-xmms-plugin \
|
||
|
--disable-ogg \
|
||
|
--disable-altivec; \
|
||
|
$(MAKE) all && \
|
||
|
make install DESTDIR=$(TARGETPREFIX) && \
|
||
|
$(REWRITE_PKGCONF) $(PKG_CONFIG_PATH)/flac.pc
|
||
|
$(REWRITE_LIBTOOL)/libFLAC.la
|
||
|
rm -rf $(TARGETPREFIX)/bin/flac
|
||
|
rm -rf $(TARGETPREFIX)/bin/metaflac
|
||
|
$(REMOVE)/flac-$(LIBFLAC_VER)
|
||
|
touch $@
|