diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
commit | b70981b68efcce5256eb11c6cd26ae123b10b6ea (patch) | |
tree | a38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/pth/APKBUILD | |
parent | 2b4df81538b8398442d5296650905c70341dd8d3 (diff) | |
download | aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2 aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz |
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/pth/APKBUILD')
-rw-r--r-- | main/pth/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/main/pth/APKBUILD b/main/pth/APKBUILD new file mode 100644 index 0000000000..ce5cc5e126 --- /dev/null +++ b/main/pth/APKBUILD @@ -0,0 +1,35 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=pth +pkgver=2.0.7 +pkgrel=0 +pkgdesc="The GNU Portable Threads." +url="http://www.gnu.org/software/pth" +license="LGPL-2.1" +depends="uclibc" +subpackages="$pkgname-dev $pkgname-doc" +source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz + pth-2.0.5-parallelfix.patch + pth-2.0.6-ldflags.patch + pth-2.0.6-sigstack.patch + " + +build () { + cd "$srcdir"/$pkgname-$pkgver + + for i in ../*.patch; do + msg "Applying $i..." + patch -p1 < $i || return 1 + done + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/share/man + + make || return 1 + make -j1 DESTDIR="$pkgdir" install +} +md5sums="9cb4a25331a4c4db866a31cbe507c793 pth-2.0.7.tar.gz +7bbd4f3328807c740c86db94e93e48ad pth-2.0.5-parallelfix.patch +942fa4be28117756cd579937b257b9cc pth-2.0.6-ldflags.patch +04e43157d758a3dc7925c35e6dd1e39c pth-2.0.6-sigstack.patch" |