void-packages/srcpkgs/netsurf-buildsystem/template

25 lines
739 B
Bash

# Template file for 'netsurf-buildsystem'
pkgname=netsurf-buildsystem
version=1.7
revision=1
noarch=yes
wrksrc="${pkgname#netsurf-}-${version}"
short_desc="The Netsurf buildsystem"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="http://www.netsurf-browser.org"
license="MIT"
distfiles="http://download.netsurf-browser.org/libs/releases/${pkgname#netsurf-}-${version}.tar.gz"
checksum=1cd6453301cd88c4dcc36ae67c67d2023b8a56ec2fd0704851b58ccdbc5243e0
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
vlicense COPYING
}