Convert packages the new template format (a-c range).

This commit is contained in:
Juan RP
2013-04-12 08:55:23 +02:00
parent 30b6eee12b
commit 9c87483ea8
242 changed files with 2380 additions and 1800 deletions

View File

@@ -4,7 +4,6 @@ version=1.50.0
revision=2
_boostver="$(echo $version|sed 's|\.|_|g')"
wrksrc="${pkgname}_${_boostver}"
subpackages="boost-build boost-devel boost-jam boost-python"
makedepends="zlib-devel icu-devel>=49.1 python-devel"
short_desc="Free peer-reviewed portable C++ source libraries"
maintainer="Juan RP <xtraeme@gmail.com>"
@@ -22,7 +21,6 @@ disable_debug=yes
if [ "$CROSS_BUILD" ]; then
# XXX boost-jam and boost-python subpkgs.
subpackages="boost-build boost-devel"
makedepends="zlib-devel icu-devel>=49.1"
fi
@@ -63,3 +61,48 @@ do_install() {
# license
vinstall LICENSE_1_0.txt 644 usr/share/licenses/boost
}
if [ -z "$CROSS_BUILD" ]; then
boost-jam_package() {
short_desc="${short_desc} - Boost.Jam utility"
pkg_install() {
vmove usr/bin/bjam
}
}
boost-python_package() {
depends="boost>=${version} python"
short_desc="${short_desc} - python bindings"
pkg_install() {
vmove "usr/lib/libboost_python*"
}
}
fi # !CROSS_BUILD
boost-build_package() {
noarch=yes
conf_files="/etc/site-config.jam"
depends="boost-jam>=$version boost-devel>=$version"
short_desc="${short_desc} - Boost.Build framework"
pkg_install() {
vmove usr/share/boost-build
vmove etc
}
}
boost-devel_package() {
depends="boost-${version}_${revision}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}
boost_package() {
pkg_install() {
vmove usr
}
}