Added boost-1.42.0 build template. (GRR How I hate this one!)
--HG-- extra : convert_revision : 40d1a631cd76289ae191a8e33743761d594f2864
This commit is contained in:
parent
da5276fd64
commit
127ae4fddd
11 changed files with 171 additions and 0 deletions
1
srcpkgs/boost-build
Symbolic link
1
srcpkgs/boost-build
Symbolic link
|
@ -0,0 +1 @@
|
|||
boost
|
1
srcpkgs/boost-devel
Symbolic link
1
srcpkgs/boost-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
boost
|
1
srcpkgs/boost-jam
Symbolic link
1
srcpkgs/boost-jam
Symbolic link
|
@ -0,0 +1 @@
|
|||
boost
|
1
srcpkgs/boost-python
Symbolic link
1
srcpkgs/boost-python
Symbolic link
|
@ -0,0 +1 @@
|
|||
boost
|
22
srcpkgs/boost/boost-build.template
Normal file
22
srcpkgs/boost/boost-build.template
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'boost-build'.
|
||||
#
|
||||
short_desc="${short_desc} (Boost.Build framework)"
|
||||
long_desc="
|
||||
Boost is a set of free, peer-reviewed, C++ libraries. The emphasis is on
|
||||
portable libraries which work well with the ISO C++ Standard Library.
|
||||
|
||||
This package provides the Boost.Build module, which includes bjam. This
|
||||
is the tool used to build Boost itself, and is based on Perforce Jam."
|
||||
|
||||
conf_files="/etc/site-config.jam"
|
||||
noarch=yes
|
||||
|
||||
Add_dependency run bjam
|
||||
Add_dependency run boost-devel
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/share
|
||||
mv ${SRCPKGDESTDIR}/usr/share/boost-build ${DESTDIR}/usr/share
|
||||
mv ${SRCPKGDESTDIR}/etc ${DESTDIR}
|
||||
}
|
21
srcpkgs/boost/boost-devel.template
Normal file
21
srcpkgs/boost/boost-devel.template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'boost-devel'.
|
||||
#
|
||||
short_desc="${sourcepkg} development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
noverifyrdeps=yes
|
||||
|
||||
Add_dependency run libstdc++-devel
|
||||
Add_dependency run zlib-devel
|
||||
Add_dependency run bzip2-devel
|
||||
Add_dependency run python-devel
|
||||
Add_dependency run boost
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.{a,so} ${DESTDIR}/usr/lib
|
||||
}
|
17
srcpkgs/boost/boost-jam.template
Normal file
17
srcpkgs/boost/boost-jam.template
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'boost-jam'.
|
||||
#
|
||||
short_desc="${short_desc} (Boost.Jam utility)"
|
||||
long_desc="
|
||||
Boost is a set of free, peer-reviewed, C++ libraries. The emphasis is on
|
||||
portable libraries which work well with the ISO C++ Standard Library.
|
||||
|
||||
This package provides the Boost.Jam module, a make-like utility. This
|
||||
is the tool used to build Boost itself, and is based on Perforce Jam."
|
||||
|
||||
Add_dependency run glibc
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/bin
|
||||
mv ${SRCPKGDESTDIR}/usr/bin/bjam ${DESTDIR}/usr/bin
|
||||
}
|
21
srcpkgs/boost/boost-python.template
Normal file
21
srcpkgs/boost/boost-python.template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'boost-python'.
|
||||
#
|
||||
short_desc="${short_desc} - python bindings"
|
||||
long_desc="
|
||||
Boost is a set of free, peer-reviewed, C++ libraries. The emphasis is on
|
||||
portable libraries which work well with the ISO C++ Standard Library.
|
||||
|
||||
This package adds static and shared binary libraries providing support for
|
||||
the Boost Python library."
|
||||
|
||||
Add_dependency run libgcc
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libstdc++
|
||||
Add_dependency run boost
|
||||
Add_dependency run python
|
||||
|
||||
do_install()
|
||||
{
|
||||
mkdir -p ${DESTDIR}/usr/lib
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/libboost_python* ${DESTDIR}/usr/lib
|
||||
}
|
2
srcpkgs/boost/depends
Normal file
2
srcpkgs/boost/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=">=1.41.0"
|
||||
api_depends="${abi_depends}"
|
63
srcpkgs/boost/template
Normal file
63
srcpkgs/boost/template
Normal file
|
@ -0,0 +1,63 @@
|
|||
# Template file for 'boost'
|
||||
pkgname=boost
|
||||
version=1.42.0
|
||||
_boostver="$(echo $version|sed 's|\.|_|g')"
|
||||
wrksrc=${pkgname}_${_boostver}
|
||||
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}_${_boostver}.tar.bz2"
|
||||
build_style=custom-install
|
||||
short_desc="Free peer-reviewed portable C++ source libraries"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=4b1eb95bd250ce15ac66435d6167f225b072b0d3a7eb72477a31847a9ca9e609
|
||||
long_desc="
|
||||
boost is a library for applications dealing with netlink sockets.
|
||||
The library provides an interface for raw netlink messaging and various
|
||||
netlink family specific interfaces."
|
||||
|
||||
subpackages="boost-build boost-devel boost-jam boost-python"
|
||||
Add_dependency run libgcc
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libstdc++
|
||||
Add_dependency run zlib
|
||||
Add_dependency run bzip2
|
||||
Add_dependency run icu-libs
|
||||
Add_dependency build zlib-devel
|
||||
Add_dependency build bzip2-devel
|
||||
Add_dependency build icu-devel
|
||||
Add_dependency build python
|
||||
|
||||
do_build()
|
||||
{
|
||||
[ -n "${XBPS_MAKEJOBS}" ] && _jobs="-j${XBPS_MAKEJOBS}"
|
||||
|
||||
cd ${wrksrc} && ./bootstrap.sh -prefix=${DESTDIR}/usr || return 1
|
||||
cd ${wrksrc} && ./bjam cflags=-fno-strict-aliasing ${_jobs} || return 1
|
||||
}
|
||||
|
||||
do_install()
|
||||
{
|
||||
# Install bjam
|
||||
_bindir="bin.linuxx86"
|
||||
[ "${xbps_machine}" = "x86_64" ] && _bindir="bin.linuxx86_64"
|
||||
install -m755 -d ${DESTDIR}/usr/bin
|
||||
install -m755 ${wrksrc}/tools/jam/src/${_bindir}/bjam \
|
||||
${DESTDIR}/usr/bin || return 1
|
||||
|
||||
# Install headers/libs
|
||||
cd ${wrksrc} && ./bjam --prefix=${DESTDIR}/usr install || return 1
|
||||
|
||||
# Install Boost.Build stuff.
|
||||
install -d ${DESTDIR}/usr/share/boost-build
|
||||
cd ${wrksrc}/tools/build/v2 && cp -a . ${DESTDIR}/usr/share/boost-build
|
||||
find ${DESTDIR}/usr/share/boost-build \
|
||||
-type f -name \*.orig -exec rm -f {} \;
|
||||
( echo '# System wide configuration file for Boost.Build.' ; \
|
||||
echo ; \
|
||||
echo 'using gcc ;' ; ) >${wrksrc}/site-config.jam
|
||||
install -m644 -D ${wrksrc}/site-config.jam \
|
||||
${DESTDIR}/etc/site-config.jam
|
||||
|
||||
# license
|
||||
install -d ${DESTDIR}/usr/share/licenses/${pkgname}
|
||||
install -m644 ${wrksrc}/LICENSE_1_0.txt \
|
||||
${DESTDIR}/usr/share/licenses/${pkgname}/ || return 1
|
||||
}
|
|
@ -566,3 +566,24 @@ libnm-glib.so NetworkManager NetworkManager-devel
|
|||
libnm-glib-vpn.so NetworkManager NetworkManager-devel
|
||||
libpanel-applet-2.so gnome-panel gnome-panel-devel
|
||||
libgnome-window-settings.so gnome-control-center gnome-control-center-devel
|
||||
libboost_date_time.so.1.42 boost boost-devel
|
||||
libboost_math_tr1f.so.1.42 boost boost-devel
|
||||
libboost_serialization.so.1.42 boost boost-devel
|
||||
libboost_filesystem.so.1.42 boost boost-devel
|
||||
libboost_math_tr1l.so.1.42 boost boost-devel
|
||||
libboost_signals.so.1.42 boost boost-devel
|
||||
libboost_graph.so.1.42 boost boost-devel
|
||||
libboost_math_tr1.so.1.42 boost boost-devel
|
||||
libboost_system.so.1.42 boost boost-devel
|
||||
libboost_iostreams.so.1.42 boost boost-devel
|
||||
libboost_prg_exec_monitor.so.1.42 boost boost-devel
|
||||
libboost_thread.so.1.42 boost boost-devel
|
||||
libboost_math_c99f.so.1.42 boost boost-devel
|
||||
libboost_program_options.so.1.42 boost boost-devel
|
||||
libboost_unit_test_framework.so.1.42 boost boost-devel
|
||||
libboost_math_c99l.so.1.42 boost boost-devel
|
||||
libboost_python.so.1.42 boost-python boost-devel
|
||||
libboost_wave.so.1.42 boost boost-devel
|
||||
libboost_math_c99.so.1.42 boost boost-devel
|
||||
libboost_regex.so.1.42 boost boost-devel
|
||||
libboost_wserialization.so.1.42 boost boost-devel
|
||||
|
|
Loading…
Reference in a new issue