libparserutils: Fix provides; move installed stuff around

Note the pkg-config file isn't fixed, so they aren't found yet.
This commit is contained in:
François Revol
2013-12-10 03:46:54 +01:00
parent 7304cd6d9b
commit ecfbe0e721

View File

@@ -1,3 +1,4 @@
#TODO:split out _devel
SUMMARY="LibParserUtils is a library for building efficient parsers"
DESCRIPTION="LibParserUtils is a library for building efficient parsers"
HOMEPAGE="http://www.netsurf-browser.org/projects/libparserutils/"
@@ -11,6 +12,8 @@ SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libparserutils$secondaryArchSuffix = $portVersion
lib:libparserutils$secondaryArchSuffix = $portVersion
devel:libparserutils$secondaryArchSuffix = $portVersion
"
REQUIRES="
@@ -42,5 +45,7 @@ INSTALL()
{
make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
I=/develop/headers/libparserutils
mkdir -p $prefix/develop/lib
mv -f $prefix/lib/*.a $prefix/develop/lib/
mv -f $prefix/lib/pkgconfig $prefix/develop/lib/
}