diff --git a/doc/index.html b/doc/index.html index 5c32d7e2..cd8c562f 100644 --- a/doc/index.html +++ b/doc/index.html @@ -422,7 +422,8 @@ USE_OSGPLUGIN(<plugin2>)

Some new packages are supported: - liboil, libshout, gstreamer, gst-plugins-base and gst-plugins-good + liboil, libshout, gstreamer, gst-plugins-base, gst-plugins-good + and libpaper

diff --git a/src/libpaper.mk b/src/libpaper.mk new file mode 100644 index 00000000..6a09a049 --- /dev/null +++ b/src/libpaper.mk @@ -0,0 +1,27 @@ +# This file is part of mingw-cross-env. +# See doc/index.html for further information. + +# libpaper +PKG := libpaper +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.1.23+nmu1 +$(PKG)_CHECKSUM := 9091fc346845585ceff105c887f35012c3a39e2b +$(PKG)_SUBDIR := libpaper-$($(PKG)_VERSION) +$(PKG)_FILE := libpaper_$($(PKG)_VERSION).tar.gz +$(PKG)_WEBSITE := http://packages.debian.org/unstable/libpaper1 +$(PKG)_URL := http://ftp.debian.org/debian/pool/main/libp/libpaper/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + wget -q -O- 'http://packages.debian.org/unstable/source/libpaper' | \ + $(SED) -n 's,.*libpaper_\([0-9][^>]*\)\.tar.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +endef