mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-02 15:21:43 +01:00
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
|
|
pkgname=partimage
|
|
pkgver=0.6.8
|
|
pkgrel=0
|
|
pkgdesc="Saves partitions having a supported filesystem to an image file"
|
|
url="http://www.partimage.org"
|
|
arch="all"
|
|
license="GPL"
|
|
depends=
|
|
makedepends="bzip2-dev newt-dev zlib-dev gettext-dev slang-dev openssl-dev \
|
|
newt-dev autoconf"
|
|
install=
|
|
subpackages="$pkgname-doc"
|
|
source="http://downloads.sourceforge.net/project/$pkgname/stable/$pkgver/$pkgname-$pkgver.tar.bz2
|
|
partimage-0.6.8-gcc44.patch
|
|
"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
patch -p1 -i $srcdir/$pkgname-0.6.8-gcc44.patch || return 1
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
export LIBS="$LIBS -lintl"
|
|
autoconf && automake
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--disable-nls
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
md5sums="c13c8ede8cdf7745b97ec5827920ece7 partimage-0.6.8.tar.bz2
|
|
a6430cf98c8f236c41dd3addcde1fcb8 partimage-0.6.8-gcc44.patch"
|