wok-next annotate unixODBC/receipt @ rev 15570
Up lxc (0.9.0) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 26 09:00:34 2013 +0000 (2013-11-26) |
parents | 8e4c74abdf74 |
children | 5613d51e1fdf |
rev | line source |
---|---|
pascal@1186 | 1 # SliTaz package receipt. |
pascal@1186 | 2 |
pascal@1186 | 3 PACKAGE="unixODBC" |
slaxemulator@6600 | 4 VERSION="2.3.0" |
pascal@1186 | 5 CATEGORY="system-tools" |
pascal@1186 | 6 SHORT_DESC="ODBC for unix." |
pascal@1186 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
pascal@1186 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1186 | 10 WEB_SITE="http://www.unixodbc.org/" |
pascal@1186 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@14996 | 12 TAGS="database" |
pascal@14996 | 13 |
pascal@2406 | 14 DEPENDS="libunixODBC readline" |
pascal@1186 | 15 |
pascal@1186 | 16 # Rules to configure and make the package. |
pascal@1186 | 17 compile_rules() |
pascal@1186 | 18 { |
pascal@1186 | 19 cd $src |
pascal@1186 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1186 | 21 --disable-gui --sysconfdir=/etc \ |
pascal@5777 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
gokhlayeh@11574 | 23 make $MAKEFLAGS && |
pascal@14996 | 24 make DESTDIR=$DESTDIR install |
pascal@1186 | 25 } |
pascal@1186 | 26 |
pascal@1186 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1186 | 28 genpkg_rules() |
pascal@1186 | 29 { |
pascal@1186 | 30 mkdir -p $fs/usr/lib |
pascal@14996 | 31 cp -a $install/etc $fs |
pascal@14996 | 32 cp -a $install/usr/bin $fs/usr |
pascal@1186 | 33 } |
pascal@1186 | 34 |