24 lines
777 B
Text
24 lines
777 B
Text
# Template build file for 'netsurf-buildsystem'.
|
|
pkgname=netsurf-buildsystem
|
|
version=1.1
|
|
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"
|
|
checksum=5c092afe653d1c6c0fadb39cc47659471e4741fdd2803127be42db4264e3ac44
|
|
|
|
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}
|
|
}
|