New package: libnsgif-0.0.3 (for netsurf)

This commit is contained in:
davehome 2012-02-22 21:43:57 -07:00
parent 5deff56dc3
commit 7e772d57d5
4 changed files with 53 additions and 0 deletions

1
srcpkgs/libnsgif-devel Symbolic link
View File

@ -0,0 +1 @@
libnsgif

2
srcpkgs/libnsgif/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=">=0.0.3"
api_depends="${abi_depends}"

View File

@ -0,0 +1,21 @@
# Template file for 'libnsgif-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libnsgif
do_install() {
mkdir -p ${DESTDIR}/usr/lib/pkgconfig
sed -e 's#PREFIX#/usr#' -e 's#MAJOR#0#' \
-e 's#MINOR#0#' -e 's#PATCH#3#' \
-e 's#VERSION#0.0.3#' -e 's#REQUIRED##' \
${wrksrc}/libnsgif.pc.in \
> ${DESTDIR}/usr/lib/pkgconfig/libnsgif.pc
mv ${wrksrc}/include ${DESTDIR}/usr
}

29
srcpkgs/libnsgif/template Normal file
View File

@ -0,0 +1,29 @@
# Template build file for 'libnsgif'.
pkgname=libnsgif
version=0.0.3
distfiles="http://www.netsurf-browser.org/projects/releases/${pkgname}-${version}-src.tar.gz"
short_desc="Decoding library for the GIF image file format, written in C."
maintainer="davehome <davehome@redthumb.info.tm>"
checksum=1f53bb6cc449c3b108d7653ce876ec58745f184d5a6675a95f1fa8c937dfc6d5
long_desc="
libnsgif is a decoding library for the GIF image file format, written
in C. It was developed as part of the NetSurf project and is available
for use by other software under the MIT licence.
* Features
Decodes GIF files"
subpackages="${pkgname}-devel"
wrksrc=${pkgname}-${version}-src
Add_dependency build sed
do_build() {
make ${makejobs}
}
do_install() {
vinstall "build-Linux-Linux-release-lib-static/libnsgif.a" \
0644 "usr/lib"
}