New package: libnsbmp-0.0.3 (for netsurf)
This commit is contained in:
parent
3f9248afbd
commit
5deff56dc3
4 changed files with 54 additions and 0 deletions
srcpkgs
1
srcpkgs/libnsbmp-devel
Symbolic link
1
srcpkgs/libnsbmp-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
libnsbmp
|
2
srcpkgs/libnsbmp/depends
Normal file
2
srcpkgs/libnsbmp/depends
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
abi_depends=">=0.0.3"
|
||||||
|
api_depends="${abi_depends}"
|
21
srcpkgs/libnsbmp/libnsbmp-devel.template
Normal file
21
srcpkgs/libnsbmp/libnsbmp-devel.template
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# Template file for 'libnsbmp-devel'.
|
||||||
|
#
|
||||||
|
short_desc="${sourcepkg} development files"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
Add_dependency run libnsbmp
|
||||||
|
|
||||||
|
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}/libnsbmp.pc.in \
|
||||||
|
> ${DESTDIR}/usr/lib/pkgconfig/libnsbmp.pc
|
||||||
|
|
||||||
|
|
||||||
|
mv ${wrksrc}/include ${DESTDIR}/usr
|
||||||
|
}
|
30
srcpkgs/libnsbmp/template
Normal file
30
srcpkgs/libnsbmp/template
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Template build file for 'libnsbmp'.
|
||||||
|
pkgname=libnsbmp
|
||||||
|
version=0.0.3
|
||||||
|
distfiles="http://www.netsurf-browser.org/projects/releases/${pkgname}-${version}-src.tar.gz"
|
||||||
|
short_desc="Decoding library for BMP and ICO images in C."
|
||||||
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
|
checksum=e0ccf851bf6dc9398b587f1b3f919773a49d7d2eb082b99ab5898217d73e47a2
|
||||||
|
long_desc="
|
||||||
|
libnsbmp is a decoding library for BMP and ICO image file formats, 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 BMP files
|
||||||
|
Decodes ICO 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/libnsbmp.a" \
|
||||||
|
0644 "usr/lib"
|
||||||
|
}
|
Loading…
Reference in a new issue