mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 09:57:16 +08:00
31 lines
839 B
Bash
31 lines
839 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=e4rat
|
|
pkgver=0.2.3
|
|
pkgrel=1
|
|
pkgdesc="Toolset to accelerate the boot process and application startups for systems with ext4 root partitions."
|
|
arch=('i686' 'x86_64')
|
|
url="http://e4rat.sourceforge.net/"
|
|
license=('GPL')
|
|
depends=('e2fsprogs' 'util-linux')
|
|
makedepends=('audit' 'boost' 'cmake')
|
|
options=(!strip)
|
|
backup=(etc/e4rat.conf)
|
|
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgver/e4rat_${pkgver}_src.tar.gz)
|
|
md5sums=('e8e7db69018036f11d509b65c32d3ea4')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_CORE_LIBRARY_STATIC=true .
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
install -dm755 "$pkgdir/var/lib/$pkgname"
|
|
} |