Ice: revbump due to libdb-cxx addition.

This commit is contained in:
Juan RP 2012-02-06 17:00:35 +01:00
parent f58f836cf1
commit 98c70fd103
2 changed files with 7 additions and 12 deletions

View file

@ -5,9 +5,8 @@ long_desc="${long_desc}
This package contains the Ice runtime libraries." This package contains the Ice runtime libraries."
revision=2 revision=3
do_install() do_install() {
{
vmove usr/lib usr vmove usr/lib usr
} }

View file

@ -1,7 +1,7 @@
# Template file for 'Ice' # Template file for 'Ice'
pkgname=Ice pkgname=Ice
version=3.4.2 version=3.4.2
revision=3 revision=4
homepage="http://www.zeroc.com" homepage="http://www.zeroc.com"
distfiles="${homepage}/download/Ice/3.4/${pkgname}-${version}.tar.gz" distfiles="${homepage}/download/Ice/3.4/${pkgname}-${version}.tar.gz"
short_desc="The Internet Communications Engine (Ice)" short_desc="The Internet Communications Engine (Ice)"
@ -23,28 +23,24 @@ subpackages="lib$pkgname $pkgname-devel"
wrksrc=${pkgname}-${version}/cpp wrksrc=${pkgname}-${version}/cpp
# XXX: other language bindings # XXX: other language bindings
Add_dependency build libstdc++-devel
Add_dependency build openssl-devel
Add_dependency build bzip2-devel Add_dependency build bzip2-devel
Add_dependency build mcpp-devel Add_dependency build mcpp-devel
Add_dependency build db-devel Add_dependency build db-devel
Add_dependency build expat-devel Add_dependency build expat-devel
Add_dependency build openssl-devel
do_configure() do_configure() {
{
sed -i -e "s|^#OPTIMIZE|OPTIMIZE|" config/Make.rules sed -i -e "s|^#OPTIMIZE|OPTIMIZE|" config/Make.rules
sed -i -e "s|x)/config|x)/lib/Ice/config|" config/Make.rules sed -i -e "s|x)/config|x)/lib/Ice/config|" config/Make.rules
sed -i '/^embedded_runpath_prefix*/d' config/Make.rules sed -i '/^embedded_runpath_prefix*/d' config/Make.rules
sed -i -e "s|test demo||" Makefile sed -i -e "s|test demo||" Makefile
} }
do_build() do_build() {
{
make prefix=/usr ${makejobs} make prefix=/usr ${makejobs}
} }
do_install() do_install() {
{
if [ "$XBPS_MACHINE" = "x86_64" ]; then if [ "$XBPS_MACHINE" = "x86_64" ]; then
vmkdir usr/lib vmkdir usr/lib
cd ${DESTDIR}/usr && ln -s lib lib64 cd ${DESTDIR}/usr && ln -s lib lib64