mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 12:57:14 +08:00
add some dependency for new qt5
This commit is contained in:
parent
77680fb836
commit
b391301add
43
gperftools/PKGBUILD
Normal file
43
gperftools/PKGBUILD
Normal file
@ -0,0 +1,43 @@
|
||||
#
|
||||
# Contributor: Dave Reisner <dreisner@archlinux.org>
|
||||
# Contributor: Alexander Rødseth <rodseth@gmail.com>
|
||||
# Contributor: Thomas Jost <schnouki@schnouki.net>
|
||||
# Contributor: JaDa <jada@archlinux.us>
|
||||
# Contributor: Joaquim Pedro <osmano807@gmail.com>
|
||||
# Contributor: Jan Rüegg <rggjan@gmail.com>
|
||||
|
||||
pkgname=gperftools
|
||||
pkgver=2.2.1
|
||||
pkgrel=1
|
||||
pkgdesc="Fast, multi-threaded malloc() and nifty performance analysis tools"
|
||||
arch=('x86_64')
|
||||
url="http://code.google.com/p/gperftools/"
|
||||
license=('BSD')
|
||||
depends=('perl')
|
||||
provides=('libtcmalloc.so'
|
||||
'libprofiler.so'
|
||||
'libtcmalloc_debug.so'
|
||||
'libtcmalloc_and_profiler.so'
|
||||
'libtcmalloc_minimal.so'
|
||||
'libtcmalloc_minimal_debug.so')
|
||||
makedepends=('git')
|
||||
optdepends=('graphviz: pprof graph generation'
|
||||
'gv: pprof postscript generation')
|
||||
source=("https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/$pkgname-$pkgver.tar.gz")
|
||||
md5sums=('47cbede9442764f9e8fbc403af6cacfd')
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
./configure --prefix=/usr --enable-frame-pointers
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
44
leveldb/PKGBUILD
Normal file
44
leveldb/PKGBUILD
Normal file
@ -0,0 +1,44 @@
|
||||
#
|
||||
# Contributor: Dave Reisner <dreisner@archlinux.org>
|
||||
# Contributor: feydaykyn <feydaykyn@yahoo.fr>
|
||||
|
||||
pkgname=leveldb
|
||||
pkgver=1.18
|
||||
pkgrel=1
|
||||
pkgdesc="A fast and lightweight key/value database library"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://code.google.com/p/leveldb/"
|
||||
license=('BSD')
|
||||
depends=('gperftools' 'snappy')
|
||||
makedepends=('git')
|
||||
source=("https://github.com/google/leveldb/archive/v$pkgver.tar.gz")
|
||||
sha1sums=('18684a0ad7a07920d10f5295b171fbf5eeec7337')
|
||||
|
||||
build() {
|
||||
make -C "$pkgname-$pkgver"
|
||||
}
|
||||
|
||||
check() {
|
||||
make -C "$pkgname-$pkgver" check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
install -dm755 \
|
||||
"$pkgdir"/usr/{include/leveldb,lib} \
|
||||
"$pkgdir"/usr/share/doc/"$pkgname"
|
||||
|
||||
# libraries
|
||||
install -m644 -t "$pkgdir/usr/lib" "libleveldb.so.${pkgver%.?*}" libleveldb.a
|
||||
cp -P libleveldb.so* "$pkgdir/usr/lib"
|
||||
|
||||
# headers
|
||||
install -m644 -t "$pkgdir/usr/include/leveldb" include/leveldb/*
|
||||
|
||||
# documentation
|
||||
cp -r doc/* "$pkgdir/usr/share/doc/$pkgname"
|
||||
|
||||
# license
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
41
snappy/PKGBUILD
Normal file
41
snappy/PKGBUILD
Normal file
@ -0,0 +1,41 @@
|
||||
#
|
||||
# Contributor: Dave Reisner <dreisner@archlinux.org>
|
||||
# Contributor: Antony Male <antony dot male at geemail dot com>>
|
||||
|
||||
pkgname=snappy
|
||||
pkgver=1.1.1
|
||||
pkgrel=1
|
||||
pkgdesc='A fast compressor/decompressor library'
|
||||
arch=('x86_64')
|
||||
url="http://code.google.com/p/snappy/"
|
||||
license=('BSD')
|
||||
depends=('glibc' 'gcc-libs')
|
||||
checkdepends=('zlib')
|
||||
source=("http://snappy.googlecode.com/files/$pkgname-$pkgver.tar.gz")
|
||||
md5sums=('8887e3b7253b22a31f5486bca3cbc1c2')
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
# compile without assertions
|
||||
CXXFLAGS+=\ -DNDEBUG
|
||||
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
# compile without assertions
|
||||
CXXFLAGS+=\ -DNDEBUG
|
||||
|
||||
make -C "$pkgname-$pkgver" check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -m644 -D COPYING "$pkgdir/usr/share/licenses/snappy/LICENSE"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
Loading…
Reference in New Issue
Block a user