New package: libwapcaplet-0.1.0 (for netsurf)
This commit is contained in:
parent
252c78aba7
commit
797d8927d2
5 changed files with 49 additions and 0 deletions
1
srcpkgs/libwapcaplet-devel
Symbolic link
1
srcpkgs/libwapcaplet-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
libwapcaplet
|
2
srcpkgs/libwapcaplet/depends
Normal file
2
srcpkgs/libwapcaplet/depends
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
abi_depends=">=0.1.0"
|
||||||
|
api_depends="${abi_depends}"
|
14
srcpkgs/libwapcaplet/libwapcaplet-devel.template
Normal file
14
srcpkgs/libwapcaplet/libwapcaplet-devel.template
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# Template file for 'libwapcaplet-devel'.
|
||||||
|
#
|
||||||
|
short_desc="${sourcepkg} development files"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
Add_dependency run libwapcaplet
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vmove usr/include usr
|
||||||
|
vmove usr/lib/pkgconfig usr/lib
|
||||||
|
vmove "usr/lib/*.a" usr/lib
|
||||||
|
}
|
1
srcpkgs/libwapcaplet/libwapcaplet.rshlibs
Normal file
1
srcpkgs/libwapcaplet/libwapcaplet.rshlibs
Normal file
|
@ -0,0 +1 @@
|
||||||
|
libc.so.6
|
31
srcpkgs/libwapcaplet/template
Normal file
31
srcpkgs/libwapcaplet/template
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Template build file for 'libwapcaplet'.
|
||||||
|
pkgname=libwapcaplet
|
||||||
|
version=0.1.0
|
||||||
|
distfiles="http://www.netsurf-browser.org/projects/releases/${pkgname}-${version}-src.tar.gz"
|
||||||
|
short_desc="String internment library, written in C"
|
||||||
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
|
checksum=e58df9d4ee18344946d5c7c17fb99f29269027dafd875e2fe10bb1fb9d7fc1a7
|
||||||
|
long_desc="
|
||||||
|
LibWapcaplet is a string internment library, written in C. It provides
|
||||||
|
reference counted string interment and rapid string comparison
|
||||||
|
functionality. It was developed as part of the NetSurf project and is
|
||||||
|
available for use by other software under the MIT licence. For further
|
||||||
|
details, see the readme."
|
||||||
|
|
||||||
|
subpackages="${pkgname}-devel"
|
||||||
|
|
||||||
|
Add_dependency build sed
|
||||||
|
|
||||||
|
wrksrc=${pkgname}-${version}-src
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
make ${makejobs} COMPONENT_TYPE=lib-shared
|
||||||
|
make ${makejobs} COMPONENT_TYPE=lib-static
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
make ${makejobs} COMPONENT_TYPE=lib-shared \
|
||||||
|
PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||||
|
make ${makejobs} COMPONENT_TYPE=lib-static \
|
||||||
|
PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||||
|
}
|
Loading…
Reference in a new issue