mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 17:33:34 +08:00
added libtxc_dxtn deps of ati-dri/intel-dri/nouveau-dri
This commit is contained in:
parent
fea20ff7e6
commit
e009cffa76
@ -3,28 +3,29 @@
|
||||
#
|
||||
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
|
||||
|
||||
_pkgbasename=libtxc-dxtn
|
||||
_pkgbasename=libtxc_dxtn
|
||||
pkgname=lib32-$_pkgbasename
|
||||
pkgver=1.0.1
|
||||
pkgrel=3
|
||||
pkgrel=1
|
||||
arch=('x86_64')
|
||||
pkgdesc="Texture compression library for Mesa (32-bit)"
|
||||
url="http://dri.freedesktop.org/wiki/S3TC"
|
||||
license=(custom:BSD)
|
||||
depends=('lib32-mesa' $_pkgbasename=$pkgver)
|
||||
makedepends=(gcc-multilib)
|
||||
depends=('lib32-glibc' $_pkgbasename=$pkgver)
|
||||
makedepends=('gcc-multilib' 'lib32-mesa')
|
||||
options=(!libtool)
|
||||
source=(http://cgit.freedesktop.org/~mareko/$_pkgbasename/snapshot/$_pkgbasename-$pkgver.tar.bz2)
|
||||
md5sums=('63dc19246e1b8a5990be5ced66aff913')
|
||||
source=(http://people.freedesktop.org/~cbrill/$_pkgbasename/$_pkgbasename-$pkgver.tar.bz2)
|
||||
md5sums=('7105107f07ac49753f4b61ba9d0c79c5')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_pkgbasename-$pkgver"
|
||||
CC="gcc -m32" ./autogen.sh --prefix=/usr --libdir=/usr/lib32
|
||||
cd "$_pkgbasename-$pkgver"
|
||||
|
||||
CC="gcc -m32" ./configure --prefix=/usr --libdir=/usr/lib32
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_pkgbasename-$pkgver"
|
||||
cd "$_pkgbasename-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
rm -rf "$pkgdir/usr/include"
|
||||
|
Loading…
Reference in New Issue
Block a user