wok-6.x annotate libssh/receipt @ rev 11648
amule: fix WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 04 16:22:35 2012 +0100 (2012-02-04) |
parents | |
children | 697fd27f725e |
rev | line source |
---|---|
slaxemulator@8145 | 1 # SliTaz package receipt. |
slaxemulator@8145 | 2 |
slaxemulator@8145 | 3 PACKAGE="libssh" |
slaxemulator@8145 | 4 VERSION="0.4.8" |
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" |
slaxemulator@8145 | 9 BUILD_DEPENDS="cmake openssl-dev" |
slaxemulator@8145 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@8145 | 11 WEB_SITE="http://www.libssh.org/" |
slaxemulator@8145 | 12 WGET_URL="${WEB_SITE}files/${VERSION%.*}/$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@8145 | 24 make DESTDIR=$PWD/../_pkg 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 |