58 lines
1.7 KiB
Text
58 lines
1.7 KiB
Text
|
# Template file for 'Ice'
|
||
|
pkgname=Ice
|
||
|
version=3.4.2
|
||
|
homepage="http://www.zeroc.com"
|
||
|
distfiles="${homepage}/download/Ice/3.4/${pkgname}-${version}.tar.gz"
|
||
|
short_desc="The Internet Communications Engine (Ice)"
|
||
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||
|
license="GPL, ICE"
|
||
|
checksum=dcf0484495b6df0849ec90a00e8204fe5fe1c0d3882bb438bf2c1d062f15c979
|
||
|
long_desc="
|
||
|
The Internet Communications Engine (Ice) is a modern object-oriented toolkit
|
||
|
that enables you to build distributed applications with minimal effort. Ice
|
||
|
allows you to focus your efforts on your application logic, and it takes care
|
||
|
of all interactions with low-level network programming interfaces. With Ice,
|
||
|
there is no need to worry about details such as opening network connections,
|
||
|
serializing and deserializing data for network transmission, or retrying
|
||
|
failed connection attempts (to name but a few of dozens of such low-level
|
||
|
details)."
|
||
|
|
||
|
subpackages="lib$pkgname $pkgname-devel"
|
||
|
|
||
|
wrksrc=${pkgname}-${version}/cpp
|
||
|
|
||
|
# XXX: other language bindings
|
||
|
Add_dependency run glibc
|
||
|
Add_dependency run libIce
|
||
|
Add_dependency run libstdc++
|
||
|
Add_dependency run libgcc
|
||
|
Add_dependency run libssl
|
||
|
Add_dependency run libdb
|
||
|
|
||
|
Add_dependency build libstdc++-devel
|
||
|
Add_dependency build openssl-devel
|
||
|
Add_dependency build bzip2-devel
|
||
|
Add_dependency build mcpp-devel
|
||
|
Add_dependency build db-devel
|
||
|
Add_dependency build expat-devel
|
||
|
|
||
|
do_configure()
|
||
|
{
|
||
|
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|test demo||" Makefile
|
||
|
}
|
||
|
|
||
|
do_build()
|
||
|
{
|
||
|
make ${makejobs}
|
||
|
}
|
||
|
|
||
|
do_install()
|
||
|
{
|
||
|
make ${makejobs} prefix=${DESTDIR}/usr install
|
||
|
rm ${DESTDIR}/usr/LICENSE
|
||
|
vmkdir usr/share/licenses
|
||
|
mv ${DESTDIR}/usr/ICE_LICENSE ${DESTDIR}/usr/share/licenses
|
||
|
}
|