diff options
author | Jeremy Thomerson <jeremy@thomersonfamily.com> | 2010-10-21 05:08:38 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-25 11:37:43 +0000 |
commit | b609077771fef3922837982a088b8901bb3f4e90 (patch) | |
tree | 5f0e81f089af51cbf13f876430cc4011eaf8270c /testing | |
parent | 425f61812282a3f487075cfa74e6580c6f3f6022 (diff) | |
download | aports-b609077771fef3922837982a088b8901bb3f4e90.tar.bz2 aports-b609077771fef3922837982a088b8901bb3f4e90.tar.xz |
create new package for librsync
this package was created because I wanted rdiff-backup, and it
requires librsync
Diffstat (limited to 'testing')
-rw-r--r-- | testing/librsync/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/librsync/APKBUILD b/testing/librsync/APKBUILD new file mode 100644 index 000000000..965a2744c --- /dev/null +++ b/testing/librsync/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Jeremy Thomerson <jeremy@thomersonfamily.com> +# Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com> +pkgname=librsync +pkgver=0.9.7 +pkgrel=0 +pkgdesc="librsync implements the rolling-checksum algorithm of rsync" +url="http://sourceforge.net/projects/librsync/" +license="LGPL 2.1" +depends="" +makedepends="" +install= +subpackages="$pkgname-dev" +source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$_builddir" + + ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="24cdb6b78f45e0e83766903fd4f6bc84 librsync-0.9.7.tar.gz" |