wok annotate libtorrent/receipt @ rev 5333
glibc: dont use configparms (Thanks Alexander)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 25 21:47:06 2010 +0200 (2010-04-25) |
parents | e5f66f079609 |
children | 3541e02e9ad4 |
rev | line source |
---|---|
mimas@2018 | 1 # SliTaz package receipt. |
mimas@2018 | 2 |
mimas@2018 | 3 PACKAGE="libtorrent" |
pankso@4181 | 4 VERSION="0.12.5" |
mimas@2018 | 5 CATEGORY="network" |
mimas@2018 | 6 SHORT_DESC="Torrent library for rtorrent" |
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" |
pascal@5003 | 11 DEPENDS="curl libsigc++ openssl gcc-lib-base" |
mimas@2018 | 12 BUILD_DEPENDS="curl-dev libsigc++-dev openssl-dev" |
mimas@2018 | 13 |
mimas@2018 | 14 # Rules to configure and make the package. |
mimas@2018 | 15 compile_rules() |
mimas@2018 | 16 { |
mimas@2018 | 17 cd $src |
mimas@2018 | 18 ./configure \ |
pankso@4181 | 19 --prefix=/usr \ |
pankso@4181 | 20 --infodir=/usr/share/info \ |
pankso@4181 | 21 --mandir=/usr/share/man \ |
pankso@4181 | 22 $CONFIGURE_ARGS && |
pankso@4181 | 23 make && |
mimas@2018 | 24 make DESTDIR=$PWD/_pkg 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/lib |
mimas@2018 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
mimas@2018 | 32 } |