Annotation of /trunk/extras/libiodbc/libiodbc-3.52.12-r1.smage2
Parent Directory | Revision Log
Revision 28584 -
(hide annotations)
(download)
Mon Jan 2 14:13:59 2017 UTC (7 years, 8 months ago) by niro
File size: 895 byte(s)
Mon Jan 2 14:13:59 2017 UTC (7 years, 8 months ago) by niro
File size: 895 byte(s)
-readline-7.0 rebuild
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 | } |