changeset 808:ce91389b2d08

new package: libpaper
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 24 Feb 2010 12:47:05 +0100
parents 622c0a7b8f0e
children e1f9e5f2157f
files doc/index.html src/libpaper.mk
diffstat 2 files changed, 29 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/index.html	Tue Feb 23 23:36:18 2010 +0100
+++ b/doc/index.html	Wed Feb 24 12:47:05 2010 +0100
@@ -422,7 +422,8 @@
 
         <p>
         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
         </p>
     </dd>
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/libpaper.mk	Wed Feb 24 12:47:05 2010 +0100
@@ -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