wok annotate freetds/receipt @ rev 23513
busybox: musl & diet may fail
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 06 11:53:42 2020 +0200 (2020-04-06) |
parents | b12961aba199 |
children | 83b97236db32 |
rev | line source |
---|---|
pascal@1183 | 1 # SliTaz package receipt. |
pascal@1183 | 2 |
pascal@1183 | 3 PACKAGE="freetds" |
Hans-G?nter@22779 | 4 VERSION="1.1.24" |
pascal@1183 | 5 CATEGORY="system-tools" |
pascal@1183 | 6 SHORT_DESC="Microsoft SQL Server and Sybase databases client libraries." |
pascal@1183 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15154 | 8 LICENSE="GPL2" |
Hans-G?nter@22779 | 9 WEB_SITE="https://www.freetds.org/" |
Hans-G?nter@22779 | 10 |
Hans-G?nter@22780 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@22780 | 12 WGET_URL="${WEB_SITE}files/stable/$TARBALL" |
pascal@1183 | 13 |
pascal@15154 | 14 DEPENDS="libunixODBC ncurses readline" |
pascal@15154 | 15 BUILD_DEPENDS="readline-dev" |
pascal@15154 | 16 |
pascal@1183 | 17 # Rules to configure and make the package. |
pascal@1183 | 18 compile_rules() |
pascal@1183 | 19 { |
Hans-G?nter@22779 | 20 ./configure \ |
Hans-G?nter@22779 | 21 --prefix=/usr \ |
Hans-G?nter@22779 | 22 --infodir=/usr/share/info \ |
Hans-G?nter@22779 | 23 --sysconfdir=/etc \ |
Hans-G?nter@22779 | 24 --mandir=/usr/share/man \ |
pascal@15154 | 25 $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath && |
pascal@1470 | 26 make && |
pascal@23513 | 27 make -j 1 DESTDIR=$DESTDIR install |
pascal@1183 | 28 } |
pascal@1183 | 29 |
pascal@1183 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1183 | 31 genpkg_rules() |
pascal@1183 | 32 { |
pascal@1183 | 33 mkdir -p $fs/usr/lib |
Hans-G?nter@22779 | 34 |
Hans-G?nter@22779 | 35 cp -a $install/etc $fs |
Hans-G?nter@22779 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22779 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@1183 | 38 } |