From 51f126298c98f4bf2647e1627d59cbad8047a28a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 21 Feb 2012 16:57:30 +0100 Subject: [PATCH] swh-lv2: switch to gnu-makefile build_style, needs pkg-config. --- srcpkgs/swh-lv2/swh-lv2.rshlibs | 2 +- srcpkgs/swh-lv2/template | 18 +++++------------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/srcpkgs/swh-lv2/swh-lv2.rshlibs b/srcpkgs/swh-lv2/swh-lv2.rshlibs index 7915e9f0587..b95fed5e175 100644 --- a/srcpkgs/swh-lv2/swh-lv2.rshlibs +++ b/srcpkgs/swh-lv2/swh-lv2.rshlibs @@ -1,3 +1,3 @@ libc.so.6 libfftw3f.so.3 -libm.so.6 +libm.so.6 i686 diff --git a/srcpkgs/swh-lv2/template b/srcpkgs/swh-lv2/template index 84a0069f26e..b617f0607a4 100644 --- a/srcpkgs/swh-lv2/template +++ b/srcpkgs/swh-lv2/template @@ -1,9 +1,11 @@ # Template file for 'swh-lv2' pkgname=swh-lv2 version=1.0.15 +revision=2 +build_style=gnu-makefile +make_install_target="install-system" homepage="http://plugin.org.uk/" distfiles="http://plugin.org.uk/lv2/${pkgname}-${version}.tar.gz" -revision=2 short_desc="Collection of GPL (free software) LV2 audio plugins" maintainer="davehome " license="GPL-3" @@ -11,20 +13,10 @@ checksum=5809441a94571d2f492a5e015ad035ea747127e0322e531b79a960fd0c3d250d long_desc=" Collection of GPL (free software) LV2 audio plugins" +Add_dependency build pkg-config Add_dependency build fftw-devel Add_dependency build libxslt -do_configure() -{ +pre_build() { sed -i -e "s|/usr/local|$DESTDIR/usr|" Makefile } - -do_build() -{ - make ${makejobs} -} - -do_install() -{ - make ${makejobs} install-system -}