wok annotate libssh/receipt @ rev 13587

linux-dialup: add drivers/usb/serial
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 06 16:04:24 2012 +0100 (2012-11-06)
parents 697fd27f725e
children 6eff489aa802
rev   line source
slaxemulator@8145 1 # SliTaz package receipt.
slaxemulator@8145 2
slaxemulator@8145 3 PACKAGE="libssh"
slaxemulator@12387 4 VERSION="0.5.2"
slaxemulator@8145 5 CATEGORY="network"
slaxemulator@8145 6 SHORT_DESC="Library for accessing ssh client services through C libraries"
slaxemulator@8145 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@8145 8 DEPENDS="libssl"
pascal@12390 9 BUILD_DEPENDS="cmake openssl-dev wget"
slaxemulator@8145 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@8145 11 WEB_SITE="http://www.libssh.org/"
slaxemulator@12387 12 WGET_URL="https://red.libssh.org/attachments/download/27/$TARBALL"
slaxemulator@8145 13
slaxemulator@8145 14 # Rules to configure and make the package.
slaxemulator@8145 15 compile_rules()
slaxemulator@8145 16 {
slaxemulator@8145 17 cd $src
slaxemulator@8145 18 mkdir build
slaxemulator@8145 19 cd build
slaxemulator@8145 20 cmake ../ \
slaxemulator@8145 21 -DCMAKE_INSTALL_PREFIX=/usr \
slaxemulator@8145 22 -DCMAKE_BUILD_TYPE=Release
slaxemulator@8145 23 make
slaxemulator@12387 24 make DESTDIR=$DESTDIR install
slaxemulator@8145 25 }
slaxemulator@8145 26
slaxemulator@8145 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@8145 28 genpkg_rules()
slaxemulator@8145 29 {
slaxemulator@8145 30 mkdir -p $fs/usr/lib
slaxemulator@8145 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@8145 32 }
slaxemulator@8145 33