Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32671 - (hide annotations) (download)
Mon Apr 29 13:23:45 2019 UTC (5 years, 1 month ago) by niro
File size: 895 byte(s)
-release branches/R11-unstable
1 niro 28583 # $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 niro 28584 sourceforge://iodbc/${SRCFILE}
22 niro 28583 http://www.iodbc.org/downloads/iODBC/${SRCFILE}
23     mirror://${PNAME}/${SRCFILE}
24     )
25    
26     UP2DATE="updatecmd http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/Downloads | sed 's:/download::' | highesttarball gz"
27    
28     src_compile()
29     {
30     cd ${SRCDIR}
31    
32     # using gentoo dir location, which fits our distribution well
33     # --disable-libodbc to minimize conflicts with unixODBC
34     mconfigure --with-layout=gentoo --disable-gui --disable-libodbc --enable-odbc3 || die
35     mmake -j1 || die
36     }
37    
38     src_install()
39     {
40     mbuild_src_install || die
41    
42     # delete insecure rpath
43     mdeleterpath || die
44     }