diff options
Diffstat (limited to 'main/libtorrent')
-rw-r--r-- | main/libtorrent/APKBUILD | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/main/libtorrent/APKBUILD b/main/libtorrent/APKBUILD index 6b511ac6fb..7f5561f754 100644 --- a/main/libtorrent/APKBUILD +++ b/main/libtorrent/APKBUILD @@ -5,23 +5,18 @@ pkgname=libtorrent pkgver=0.13.6 pkgrel=0 -pkgdesc='BitTorrent library written in C++' -url='http://rakshasa.github.io/rtorrent/' -arch='all' -license='GPL' -makedepends='libsigc++-dev openssl-dev' +pkgdesc="BitTorrent library written in C++" +url="http://rakshasa.github.io/rtorrent/" +arch="all" +license="GPL" +makedepends="libsigc++-dev openssl-dev" subpackages="$pkgname-dev" -options='libtool' -source="http://rtorrent.net/downloads/${pkgname}-${pkgver}.tar.gz" - -_builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - cd "$_builddir" -} +options="libtool" +source="http://rtorrent.net/downloads/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ @@ -34,7 +29,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } |