libwapcaplet: update to 0.2.0.

This commit is contained in:
Juan RP 2014-02-04 20:57:48 +01:00
parent 217f5f9123
commit b166af394a

View file

@ -1,42 +1,34 @@
# Template build file for 'libwapcaplet'.
pkgname=libwapcaplet
version=0.1.0
revision=3
version=0.2.0
revision=1
hostmakedepends="netsurf-buildsystem"
homepage="http://www.netsurf-browser.org"
short_desc="String internment library, written in C"
maintainer="davehome <davehome@redthumb.info.tm>"
license="MIT"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
checksum=e58df9d4ee18344946d5c7c17fb99f29269027dafd875e2fe10bb1fb9d7fc1a7
long_desc="
LibWapcaplet is a string internment library, written in C. It provides
reference counted string interment and rapid string comparison
functionality. 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."
wrksrc=${pkgname}-${version}-src
checksum=5fb49841ba335b0c7a1420d92c3a60480df63696c50353c02724aa8c6b45cb24
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}
}
libwapcaplet-devel_package() {
depends="libwapcaplet>=${version}"
short_desc+=" -- development files"
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}