From 76994f04d8705da87244cff5553102898d1c28be Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 13 Feb 2013 09:35:37 +0100 Subject: [PATCH] qrencode: cross build support. --- srcpkgs/qrencode/libqrencode.template | 3 --- srcpkgs/qrencode/qrencode-devel.template | 4 ---- srcpkgs/qrencode/template | 8 ++------ 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/srcpkgs/qrencode/libqrencode.template b/srcpkgs/qrencode/libqrencode.template index d1422a2c5d..881442198d 100644 --- a/srcpkgs/qrencode/libqrencode.template +++ b/srcpkgs/qrencode/libqrencode.template @@ -1,9 +1,6 @@ # Template file for 'libqrencode'. # short_desc="${short_desc} -- runtime library" -long_desc="${long_desc} - - This package contains the runtime library." do_install() { vmove "usr/lib/*.so*" usr/lib diff --git a/srcpkgs/qrencode/qrencode-devel.template b/srcpkgs/qrencode/qrencode-devel.template index fc978c6363..5c004b7b59 100644 --- a/srcpkgs/qrencode/qrencode-devel.template +++ b/srcpkgs/qrencode/qrencode-devel.template @@ -2,10 +2,6 @@ # depends="libqrencode-${version}_${revision}" short_desc="${short_desc} -- development files" -long_desc="${long_desc} - - This package contains files for development, headers, static libs, etc." - noarch=yes do_install() { diff --git a/srcpkgs/qrencode/template b/srcpkgs/qrencode/template index 00c2101e1a..6828082729 100644 --- a/srcpkgs/qrencode/template +++ b/srcpkgs/qrencode/template @@ -1,9 +1,10 @@ # Template file for 'qreconde' pkgname=qrencode version=3.4.1 -revision=1 +revision=2 build_style=gnu-configure makedepends="pkg-config libpng-devel" +crossmakedepends="libpng-devel" subpackages="${pkgname}-devel lib${pkgname}" short_desc="Library for encoding data in a QR Code symbol" maintainer="Juan RP " @@ -11,8 +12,3 @@ homepage="http://fukuchi.org/works/qrencode/index.html.en" license="LGPL-2.1" distfiles="http://fukuchi.org/works/qrencode/qrencode-${version}.tar.bz2" checksum=8b7a5a5fc7389a5bcaec4f2ad814c2562424991ab908067d00f8e0868d2aa5f0 -long_desc=" - qrencode is a C library for encoding data in a QR Code symbol, a kind of - 2D symbology that can be scanned by handy terminals such as a mobile phone - with CCD. The capacity of QR Code is up to 7000 digits or 4000 characters, - and is highly robust."