wok-next diff unixODBC/receipt @ rev 20762
Add leanify
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 05 17:27:09 2018 +0300 (2018-06-05) |
parents | 10df65db91ad |
children | cd7906120828 |
line diff
1.1 --- a/unixODBC/receipt Thu Apr 19 13:15:41 2018 +0300 1.2 +++ b/unixODBC/receipt Tue Jun 05 17:27:09 2018 +0300 1.3 @@ -1,12 +1,13 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="unixODBC" 1.7 -VERSION="2.3.4" 1.8 +VERSION="2.3.5" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="ODBC for UNIX" 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 LICENSE="LGPL2.1" 1.13 WEB_SITE="http://www.unixodbc.org/" 1.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/unixodbc.html" 1.15 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 WGET_URL="ftp://ftp.unixodbc.org/pub/unixODBC/$TARBALL" 1.18 @@ -16,11 +17,16 @@ 1.19 1.20 compile_rules() { 1.21 ./configure \ 1.22 - --disable-gui \ 1.23 + --sysconfdir=/etc/unixODBC \ 1.24 $CONFIGURE_ARGS && 1.25 fix libtool && 1.26 make $MAKEFLAGS && 1.27 - make DESTDIR=$DESTDIR install 1.28 + mkdir -p $install/etc/unixODBC/ && 1.29 + make DESTDIR=$DESTDIR install || return 1 1.30 + 1.31 + find doc -name "Makefile*" -delete 1.32 + find doc -type f -exec chmod 644 '{}' \; 1.33 + cook_pick_docs doc/* 1.34 } 1.35 1.36 genpkg_rules() { 1.37 @@ -32,6 +38,7 @@ 1.38 unixODBC) 1.39 copy @std @rm 1.40 DEPENDS="libunixODBC readline" 1.41 + CONFIG_FILES="/etc/unixODBC/" 1.42 TAGS="database" 1.43 ;; 1.44 *-dev)