# HG changeset patch # User Christophe Lincoln # Date 1393064710 -3600 # Node ID d572013dbc68ad98e9d7f469cebe603782038444 # Parent b2292a5ea5edcd5472d039a8c71bc1c2aa26ec1e Add: libiodbc (Independent Open DataBase Connectivity) diff -r b2292a5ea5ed -r d572013dbc68 libiodbc-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libiodbc-dev/receipt Sat Feb 22 11:25:10 2014 +0100 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="libiodbc-dev" +VERSION="3.52.7" +CATEGORY="development" +SHORT_DESC="The libiodbc devel files." +MAINTAINER="pankso@slitaz.org" +LICENSE="LGPL2" +WANTED="libiodbc" +WEB_SITE="http://www.iodbc.org/" + +DEPENDS="pkg-config" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/lib/*.*a $fs/usr/lib +} diff -r b2292a5ea5ed -r d572013dbc68 libiodbc/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libiodbc/receipt Sat Feb 22 11:25:10 2014 +0100 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="libiodbc" +VERSION="3.52.7" +CATEGORY="system-tools" +SHORT_DESC="Independent Open DataBase Connectivity." +MAINTAINER="pankso@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.iodbc.org/" +WGET_URL="http://www.iodbc.org/downloads/iODBC/$TARBALL" + +DEPENDS="" +BUILD_DEPENDS="" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure $CONFIGURE_ARGS && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib +}