From 02e2c867cfceeb6b1efe97d6875f4cd604a1b824 Mon Sep 17 00:00:00 2001 From: Juan RP <xtraeme@gmail.com> Date: Thu, 18 Jul 2013 05:14:24 +0200 Subject: [PATCH] fdupes: fix cross build. --- srcpkgs/fdupes/template | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/srcpkgs/fdupes/template b/srcpkgs/fdupes/template index 733e4f509a..a89e682b65 100644 --- a/srcpkgs/fdupes/template +++ b/srcpkgs/fdupes/template @@ -1,8 +1,7 @@ # Template file for 'fdupes' pkgname=fdupes version=1.51 -revision=1 -build_style=gnu-makefile +revision=2 distfiles="https://fdupes.googlecode.com/files/fdupes-${version}.tar.gz" checksum="87dbc85b7b9cdb9626e713dd8078bd7487bceb58d47ceaff5404a9e6fd062881" maintainer="Steven R <strob AT styez DOT com>" @@ -10,6 +9,10 @@ homepage="https://code.google.com/p/fdupes/" license="MIT" short_desc="Identifying or deleting duplicate files residing within specified directories" +do_build() { + make CC="$CC" +} + do_install() { vinstall fdupes 755 usr/bin vinstall fdupes.1 644 usr/share/man/man1 @@ -19,4 +22,4 @@ fdupes_package() { pkg_install() { vmove all } -} \ No newline at end of file +}