Magellan Linux

Annotation of /branches/R11-stable/extras/libiodbc/libiodbc-3.52.7-r6.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24316 - (hide annotations) (download)
Fri Feb 20 10:06:47 2015 UTC (9 years, 2 months ago) by niro
File size: 838 byte(s)
-release branches/R11-stable
1 niro 23191 # $Id$
2    
3     PNAME="libiodbc"
4     PVER="3.52.7"
5     PBUILD="r6"
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-6.2"
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 | firsttarball 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     }