wok annotate rtorrent/receipt @ rev 12795
slitaz-base-files: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 18 09:43:02 2012 +0200 (2012-05-18) |
parents | 02bbaa9d12ba |
children | 1ae5963f23df |
rev | line source |
---|---|
mimas@2018 | 1 # SliTaz package receipt. |
mimas@2018 | 2 |
mimas@2018 | 3 PACKAGE="rtorrent" |
slaxemulator@11157 | 4 VERSION="0.8.9" |
mimas@2018 | 5 CATEGORY="network" |
mimas@2018 | 6 SHORT_DESC="Ncurses based torrent client" |
mimas@2018 | 7 MAINTAINER="mimas@slitaz.org" |
mimas@2018 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mimas@2018 | 9 WEB_SITE="http://libtorrent.rakshasa.no/" |
mimas@2018 | 10 WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL" |
jozee@4972 | 11 TAGS="torrent" |
mimas@2018 | 12 |
slaxemulator@11157 | 13 DEPENDS="ncurses libtorrent zlib ncursesw xmlrpc-c gcc-lib-base" |
slaxemulator@11157 | 14 BUILD_DEPENDS="ncurses-dev libtorrent-dev libtorrent pkg-config xmlrpc-c-dev \ |
slaxemulator@11157 | 15 libsigc++-dev curl-dev" |
slaxemulator@11157 | 16 |
mimas@2018 | 17 # Rules to configure and make the package. |
mimas@2018 | 18 compile_rules() |
mimas@2018 | 19 { |
mimas@2018 | 20 cd $src |
mimas@2018 | 21 ./configure \ |
slaxemulator@11157 | 22 --with-xmlrpc-c \ |
pascal@2446 | 23 $CONFIGURE_ARGS && |
slaxemulator@11157 | 24 make && make install |
mimas@2018 | 25 } |
mimas@2018 | 26 |
mimas@2018 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2018 | 28 genpkg_rules() |
mimas@2018 | 29 { |
mimas@2018 | 30 mkdir -p $fs/usr |
slaxemulator@11157 | 31 cp -a $install/usr/bin $fs/usr |
mimas@2018 | 32 } |
mimas@2018 | 33 |