diff options
Diffstat (limited to 'src/flac.mk')
-rw-r--r-- | src/flac.mk | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/flac.mk b/src/flac.mk index 8b47394..38cbff4 100644 --- a/src/flac.mk +++ b/src/flac.mk @@ -3,23 +3,23 @@ PKG := flac $(PKG)_IGNORE := -$(PKG)_CHECKSUM := bd54354900181b59db3089347cc84ad81e410b38 +$(PKG)_CHECKSUM := a136e5748f8fb1e6c524c75000a765fc63bb7b1b $(PKG)_SUBDIR := flac-$($(PKG)_VERSION) -$(PKG)_FILE := flac-$($(PKG)_VERSION).tar.gz -$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/flac/flac-src/flac-$($(PKG)_VERSION)-src/$($(PKG)_FILE) -$(PKG)_DEPS := gcc libiconv ogg +$(PKG)_FILE := flac-$($(PKG)_VERSION).tar.xz +$(PKG)_URL := http://downloads.xiph.org/releases/flac/$($(PKG)_FILE) +$(PKG)_DEPS := gcc ogg define $(PKG)_UPDATE - $(WGET) -q -O- 'http://flac.cvs.sourceforge.net/viewvc/flac/flac/' | \ - grep '<option>FLAC_RELEASE_' | \ - $(SED) -n 's,.*FLAC_RELEASE_\([0-9][0-9_]*\)__.*,\1,p' | \ - $(SED) 's,_,.,g' | \ - head -1 + $(WGET) -q -O- 'http://downloads.xiph.org/releases/flac/' | \ + $(SED) -n 's,.*<a href="flac-\([0-9][0-9.]*\)\.tar\.[gx]z">.*,\1,p' | \ + $(SORT) -V | \ + tail -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ --host='$(TARGET)' \ + --enable-static \ --disable-shared \ --prefix='$(PREFIX)/$(TARGET)' \ --disable-doxygen-docs \ |