aboutsummaryrefslogtreecommitdiffstats
path: root/main/fsarchiver/APKBUILD
blob: c2c2f3142e6e5a3857b88c5f669ed7e42962f1e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Maintainer: Bartłomiej Piotrowski

pkgname=fsarchiver
pkgver=0.6.17
pkgrel=1
pkgdesc='Safe and flexible file-system backup and deployment tool'
arch=all
url='http://www.fsarchiver.org/'
license='GPL2'
subpackages="$pkgname-doc"
makedepends='attr-dev bzip2-dev e2fsprogs-dev lzo-dev xz-dev libgcrypt-dev zlib-dev'
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}

md5sums="74cd8cb541630da0542a0f5fd7cce247  fsarchiver-0.6.17.tar.gz"
sha256sums="409add97337783cb135f15c07318acf5067f5837f07bd62c7e358f3dcf5dced5  fsarchiver-0.6.17.tar.gz"
sha512sums="c433085c9c945fd48b073d9b53794cd35e09a9373e7e86ed32fde7f6c95c7fc9d01f805d5ab7708f61026998c4362c7c0d801d568cbd481a76dd79815d193954  fsarchiver-0.6.17.tar.gz"