diff options
author | Fabian Affolter <fabian@bernewireless.net> | 2011-07-05 19:40:43 +0200 |
---|---|---|
committer | Fabian Affolter <fabian@bernewireless.net> | 2011-07-05 19:40:43 +0200 |
commit | 7f9851115264bca9bce3926ddb29e533a23929dd (patch) | |
tree | b0426fc489e4dad582f34b25d6f93354a65f5c0f /testing/par2cmdline/APKBUILD | |
parent | 5dac3f219058736f6e19b7bec2b1cc2b1b300981 (diff) | |
parent | 269fc1049583d36e07153215fe535f88947ea98b (diff) | |
download | aports-7f9851115264bca9bce3926ddb29e533a23929dd.tar.bz2 aports-7f9851115264bca9bce3926ddb29e533a23929dd.tar.xz |
Merge branch 'master' of git://git.alpinelinux.org/aports
Diffstat (limited to 'testing/par2cmdline/APKBUILD')
-rw-r--r-- | testing/par2cmdline/APKBUILD | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/testing/par2cmdline/APKBUILD b/testing/par2cmdline/APKBUILD new file mode 100644 index 0000000000..d0c41caef5 --- /dev/null +++ b/testing/par2cmdline/APKBUILD @@ -0,0 +1,53 @@ +# Contributor: <kalonji@gmail.com> +# Maintainer: <kalonji@gmail.com> +pkgname=par2cmdline +pkgver=0.4 +pkgrel=1 +pkgdesc="Providing a tool to apply the data-recovery capability concepts of RAID-like systems to the posting & recovery of multi-part archives on Usenet." +url="http://sourceforge.net/projects/parchive/" +arch="all" +license="GPL" +depends= +makedepends= +install= +source="http://downloads.sourceforge.net/sourceforge/parchive/${pkgname}-${pkgver}.tar.gz +par2cmdline-0.4-autoconf.patch +par2cmdline-0.4-letype.patch +par2cmdline-0.4-cosmetic.patch +par2cmdline-0.4-offset.patch +par2cmdline-0.4-gcc4.patch +par2cmdline-0.4-wildcard-fix.patch +par2cmdline-0.4-hardlinks.patch" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + for i in "$srcdir"/*.patch; do + msg "Applying ${i}" + patch -N -i $i || return 1 + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="1551b63e57e3c232254dc62073b723a9 par2cmdline-0.4.tar.gz +8a0fad41e3c3165e3c788d2693797557 par2cmdline-0.4-autoconf.patch +1f7adb9308d4e972a5630eb56a42f8d5 par2cmdline-0.4-letype.patch +986d44b0cdba449459f9cfd93322144f par2cmdline-0.4-cosmetic.patch +cd54801b5107f03982c2b01ead21f02a par2cmdline-0.4-offset.patch +d52515669d3bc43f19c545fd6405dacc par2cmdline-0.4-gcc4.patch +c823d25f8862531e6e435ce0c76f8384 par2cmdline-0.4-wildcard-fix.patch +8683d237bc11e9d5581d14b4697d1f8b par2cmdline-0.4-hardlinks.patch" |