wok-next diff libiodbc/receipt @ rev 20841
p11-kit: configure asks for glib2
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 20 08:39:52 2018 +0000 (2018-06-20) |
parents | 25deb7c6df08 |
children | f48456621a9d |
line diff
1.1 --- a/libiodbc/receipt Sat Apr 14 03:34:33 2018 +0300 1.2 +++ b/libiodbc/receipt Wed Jun 20 08:39:52 2018 +0000 1.3 @@ -1,28 +1,48 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="libiodbc" 1.7 -VERSION="3.52.7" 1.8 +VERSION="3.52.12" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Independent Open DataBase Connectivity" 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 WEB_SITE="http://www.iodbc.org/" 1.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libiodbc.html" 1.15 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WGET_URL="http://www.iodbc.org/downloads/iODBC/$TARBALL" 1.18 +WGET_URL="$SF_MIRROR/iodbc/$TARBALL" 1.19 1.20 -SPLIT="libiodbc-dev" 1.21 +BUILD_DEPENDS="gtk+-dev chrpath" 1.22 +SPLIT="libiodbc-gui libiodbc libiodbc-dev" 1.23 1.24 compile_rules() { 1.25 - ./configure $CONFIGURE_ARGS && 1.26 + ./configure \ 1.27 + --with-iodbc-inidir=/etc/iodbc \ 1.28 + --includedir=/usr/include/iodbc \ 1.29 + --disable-libodbc \ 1.30 + --disable-static \ 1.31 + $CONFIGURE_ARGS && 1.32 fix libtool && 1.33 make && 1.34 - make install 1.35 + make install || return 1 1.36 + 1.37 + # remove rpath pointing to "/home/slitaz/wok/libiodbc/source/libiodbc-3.52.12/iodbc/.libs" 1.38 + chrpath -d $install/usr/bin/iodbctest* 1.39 } 1.40 1.41 genpkg_rules() { 1.42 case $PACKAGE in 1.43 - libiodbc) copy @std;; 1.44 - *-dev) copy @dev;; 1.45 + libiodbc-gui) 1.46 + copy iodbcadm-gtk libdrvproxy.so* libiodbcadm.so* 1.47 + DEPENDS="glib gtk+ libiodbc" 1.48 + ;; 1.49 + libiodbc) 1.50 + copy @std @rm 1.51 + rm -r $fs/usr/share # remove samples/ with underlayind dirs 1.52 + ;; 1.53 + *-dev) 1.54 + copy @dev samples/ 1.55 + DEPENDS="libiodbc" # exclude gui package 1.56 + ;; 1.57 esac 1.58 }