2012-02-23 19:36:14 +00:00
|
|
|
# Template build file for 'libwapcaplet'.
|
|
|
|
pkgname=libwapcaplet
|
|
|
|
version=0.1.0
|
2013-04-13 08:15:49 +00:00
|
|
|
revision=3
|
2012-02-23 23:36:28 +00:00
|
|
|
homepage="http://www.netsurf-browser.org"
|
2012-02-23 19:36:14 +00:00
|
|
|
short_desc="String internment library, written in C"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
2012-02-23 23:36:28 +00:00
|
|
|
license="MIT"
|
2013-04-16 09:57:52 +00:00
|
|
|
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname}-${version}-src.tar.gz"
|
2013-04-13 08:15:49 +00:00
|
|
|
checksum=e58df9d4ee18344946d5c7c17fb99f29269027dafd875e2fe10bb1fb9d7fc1a7
|
2012-02-23 19:36:14 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make ${makejobs} COMPONENT_TYPE=lib-shared
|
|
|
|
make ${makejobs} COMPONENT_TYPE=lib-static
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make ${makejobs} COMPONENT_TYPE=lib-shared \
|
|
|
|
PREFIX=/usr DESTDIR=${DESTDIR} install
|
|
|
|
make ${makejobs} COMPONENT_TYPE=lib-static \
|
|
|
|
PREFIX=/usr DESTDIR=${DESTDIR} install
|
2012-02-23 23:36:28 +00:00
|
|
|
|
|
|
|
vinstall "${wrksrc}/COPYING" 0644 "usr/share/licenses/${pkgname}"
|
2012-02-23 19:36:14 +00:00
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libwapcaplet-devel_package() {
|
|
|
|
depends="libwapcaplet>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libwapcaplet_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|