Annotation of /trunk/extras/libiodbc/libiodbc-3.52.12-r1.smage2
Parent Directory | Revision Log
Revision 28583 -
(hide annotations)
(download)
Mon Jan 2 09:07:16 2017 UTC (7 years, 8 months ago) by niro
File size: 863 byte(s)
Mon Jan 2 09:07:16 2017 UTC (7 years, 8 months ago) by niro
File size: 863 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 | 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 | } |