void-packages/srcpkgs/netsurf-buildsystem/template

25 lines
777 B
Text
Raw Normal View History

2014-02-04 19:47:36 +00:00
# Template build file for 'netsurf-buildsystem'.
pkgname=netsurf-buildsystem
2014-11-28 12:16:22 +00:00
version=1.2
2014-02-04 19:47:36 +00:00
revision=1
noarch=yes
wrksrc="${pkgname#netsurf-}-${version}"
short_desc="The Netsurf buildsystem"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.netsurf-browser.org"
license="MIT"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname#netsurf-}-${version}.tar.gz"
2014-11-28 12:16:22 +00:00
checksum=3903a4a1551c9c202e1d2047344c4f3598c8d9d6c35ebf8cc2e18874bd0c9d61
2014-02-04 19:47:36 +00:00
do_build() {
make COMPONENT_TYPE=lib-shared PREFIX=/usr
make COMPONENT_TYPE=lib-static PREFIX=/usr
}
do_install() {
make COMPONENT_TYPE=lib-shared PREFIX=/usr DESTDIR=${DESTDIR} install
make COMPONENT_TYPE=lib-static PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall COPYING 0644 usr/share/licenses/${pkgname}
}