Magellan Linux

Contents of /branches/R11-unstable/extras/libiodbc/libiodbc-3.52.12-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 28583 - (show annotations) (download)
Mon Jan 2 09:07:16 2017 UTC (7 years, 4 months ago) by niro
Original Path: trunk/extras/libiodbc/libiodbc-3.52.12-r1.smage2
File size: 863 byte(s)
-readline-7.0 rebuild
1 # $Id$
2
3 PNAME="libiodbc"
4 PVER="3.52.12"
5 PBUILD="r1"
6
7 PCAT="dev-db"
8
9 DESCRIPTION="ODBC Interface for Linux."
10 HOMEPAGE="http://www.iodbc.org/"
11
12 DEPEND=">= sys-libs/ncurses-5.9
13 >= sys-libs/readline-7.0"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 sminclude mbuild rpath
19
20 SRC_URI=(
21 http://www.iodbc.org/downloads/iODBC/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2DATE="updatecmd http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/Downloads | sed 's:/download::' | highesttarball gz"
26
27 src_compile()
28 {
29 cd ${SRCDIR}
30
31 # using gentoo dir location, which fits our distribution well
32 # --disable-libodbc to minimize conflicts with unixODBC
33 mconfigure --with-layout=gentoo --disable-gui --disable-libodbc --enable-odbc3 || die
34 mmake -j1 || die
35 }
36
37 src_install()
38 {
39 mbuild_src_install || die
40
41 # delete insecure rpath
42 mdeleterpath || die
43 }