This commit is contained in:
Manuel 2012-12-17 22:14:17 +00:00
parent 6485166007
commit 28b9d96d62
2 changed files with 44 additions and 4 deletions

View File

@ -5,18 +5,17 @@
_pkgbasename=curl _pkgbasename=curl
pkgname=lib32-$_pkgbasename pkgname=lib32-$_pkgbasename
pkgver=7.21.3 pkgver=7.28.1
pkgrel=1 pkgrel=1
pkgdesc="An URL retrieval utility and library (32-bit)" pkgdesc="An URL retrieval utility and library (32-bit)"
arch=('x86_64') arch=('x86_64')
url="http://curl.haxx.se" url="http://curl.haxx.se"
license=('MIT') license=('MIT')
depends=('lib32-zlib' 'lib32-openssl' 'bash' 'ca-certificates' $_pkgbasename=$pkgver) depends=('lib32-zlib' 'lib32-openssl' 'lib32-libssh2' 'bash' 'ca-certificates' $_pkgbasename=$pkgver)
makedepends=(gcc-multilib) makedepends=(gcc-multilib)
options=('!libtool') options=('!libtool')
source=("http://curl.haxx.se/download/${_pkgbasename}-${pkgver}.tar.bz2") source=("http://curl.haxx.se/download/${_pkgbasename}-${pkgver}.tar.bz2")
md5sums=('5b57fee22090b5c43a6886fdd35af2ce') md5sums=('26eb081c999b0e203770869427e9a93d')
build() { build() {
export CC="gcc -m32" export CC="gcc -m32"

41
lib32-libssh2/PKGBUILD Normal file
View File

@ -0,0 +1,41 @@
# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
_pkgbasename=libssh2
pkgname=lib32-$_pkgbasename
pkgver=1.4.3
pkgrel=1
pkgdesc="A library implementing the SSH2 protocol as defined by Internet Drafts (32-bit)"
arch=('x86_64')
url="http://www.libssh2.org/"
license=('BSD')
depends=('lib32-zlib' 'lib32-libgcrypt' 'lib32-openssl' $_pkgbasename)
makedepends=(gcc-multilib)
options=('!libtool')
source=("http://www.libssh2.org/download/$_pkgbasename-$pkgver.tar.gz")
md5sums=('071004c60c5d6f90354ad1b701013a0b')
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
cd ${srcdir}/${_pkgbasename}-${pkgver}
./configure \
--with-libgcrypt \
--prefix=/usr \
--mandir=/usr/share/man \
--libdir=/usr/lib32
make
}
package() {
cd ${srcdir}/${_pkgbasename}-${pkgver}
make DESTDIR=${pkgdir} install
rm -rf "${pkgdir}"/usr/{share,bin,include}
}