From 86f57be31d57ca59d78f44efdcfb01d953e26266 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 4 Feb 2014 21:00:24 +0100 Subject: [PATCH] libcss: update to 0.2.0. --- srcpkgs/libcss/template | 40 +++++++++++++--------------------------- 1 file changed, 13 insertions(+), 27 deletions(-) diff --git a/srcpkgs/libcss/template b/srcpkgs/libcss/template index d912234d69..aa5a89eadb 100644 --- a/srcpkgs/libcss/template +++ b/srcpkgs/libcss/template @@ -1,49 +1,35 @@ # Template build file for 'libcss'. pkgname=libcss -version=0.1.2 -revision=2 -hostmakedepends="pkg-config perl" +version=0.2.0 +revision=1 +hostmakedepends="pkg-config perl netsurf-buildsystem" makedepends="libparserutils-devel libwapcaplet-devel" -short_desc="CSS parser and selection engine, written in C." +short_desc="CSS parser and selection engine, written in C" maintainer="davehome " license="MIT" homepage="http://www.netsurf-browser.org" distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz" -checksum=92c112a059bc5ae490392439401005b47ca5c270f891f6317b64aac738ae1f5e -long_desc=" - LibCSS is a CSS (Cascading Style Sheet) parser and selection engine, - written in C. It was developed as part of the NetSurf project and is - available for use by other software under the MIT licence. For further - details, see the readme. - - * Features - Parses CSS, good and bad - Simple C API - Low memory usage - Fast selection engine - Portable - Shared library" +checksum=31b08f6f2259366ccad8b455440f364dc33e7dc78cdb0cf4905da56d5372f613 do_build() { - make ${makejobs} COMPONENT_TYPE=lib-shared - make ${makejobs} COMPONENT_TYPE=lib-static + make ${makejobs} COMPONENT_TYPE=lib-shared PREFIX=/usr + make ${makejobs} COMPONENT_TYPE=lib-static PREFIX=/usr } do_install() { - make ${makejobs} COMPONENT_TYPE=lib-shared \ - PREFIX=/usr DESTDIR=${DESTDIR} install - make ${makejobs} COMPONENT_TYPE=lib-static \ - PREFIX=/usr DESTDIR=${DESTDIR} install + make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install + make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install - vinstall "${wrksrc}/COPYING" 0644 "usr/share/licenses/${pkgname}" + vinstall COPYING 0644 usr/share/licenses/${pkgname} } libcss-devel_package() { - depends="libcss>=${version}" - short_desc+=" -- development files" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove "usr/lib/*.a" + vmove "usr/lib/*.so" } }