void-packages/srcpkgs/netsurf/template

60 lines
2.1 KiB
Plaintext
Raw Normal View History

# Template build file for 'netsurf'.
pkgname=netsurf
2012-05-19 22:49:23 +02:00
version=2.9
2012-06-06 13:02:05 +02:00
revision=2
depends="desktop-file-utils shared-mime-info"
2012-06-06 13:02:05 +02:00
makedepends="pkg-config perl jpeg-devel libmng-devel libpng-devel>=1.5.10 librsvg-devel libxml2-devel libcurl-devel lcms-devel libwebp-devel libparserutils-devel libwapcaplet-devel libhubbub-devel libcss-devel libnsbmp-devel libnsgif-devel gtk+-devel libglade-devel gstreamer-devel"
short_desc="Free, open source web browser written in C."
maintainer="davehome <davehome@redthumb.info.tm>"
2012-02-24 00:50:53 +01:00
license="GPL-2, MIT"
2012-06-06 13:02:05 +02:00
homepage="http://www.netsurf-browser.org"
distfiles="${homepage}/downloads/releases/${pkgname}-${version}-full-src.tar.gz"
2012-05-19 22:49:23 +02:00
checksum=ade6ade7f66ce2f0a80df724bafefd18c17165166111c490837737aa2e09ae9d
long_desc="
Small as a mouse, fast as a cheetah and available for free. NetSurf is
a multi-platform web browser for RISC OS, UNIX-like platforms (including
Linux), Mac OS X, and more.
Written in C, this award winning open source project features its own
layout engine. It is licensed under GPL version 2.
* Web standards: HTML 4.01 and CSS 2.1
* Image formats: PNG, GIF, JPEG, SVG, JNG, MNG and BMP
* HTTPS for secure online transactions
* Unicode text
* Web page thumbnailing
* Local history trees
* Global history
* Hotlist manager (bookmarks)
* Cookie manager
* URL completion
* Text selection
* Scale view
* Search-as-you-type text search highlighting
* Save pages complete with images
* Fast, lightweight layout and rendering engine"
do_build() {
make ${makejobs} --directory=${pkgname}-${version} \
2012-05-19 22:49:23 +02:00
PREFIX=/usr TARGET=gtk NETSURF_USE_WEBP=YES \
NETSURF_USE_VIDEO=YES
}
do_install() {
make ${makejobs} --directory=${pkgname}-${version} \
PREFIX=/usr DESTDIR=${DESTDIR} TARGET=gtk \
2012-05-19 22:49:23 +02:00
NETSURF_USE_WEBP=YES NETSURF_USE_VIDEO=YES install
2012-02-24 00:25:30 +01:00
# Install app icon (from Ubuntu)
vinstall "${FILESDIR}/${pkgname}.png" \
0644 usr/share/pixmaps
# Install .desktop file (from Arch)
vinstall "${FILESDIR}/${pkgname}.desktop" \
0644 usr/share/applications
# Install license
vinstall "${wrksrc}/${pkgname}-${version}/COPYING" \
0644 "/usr/share/licenses/${pkgname}"
}