diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-11 07:06:35 -0300 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-05-28 07:22:39 +0000 |
commit | 1a96dba105ad2f75aeaca54d9cdda5558a15756d (patch) | |
tree | 7c75c422ae57c8af5ef7f898bf3df3be4d3b5842 /community/ucpp/APKBUILD | |
parent | 6cbdf20d83ad6bbd3ce99c8f86ab2cde7aff4244 (diff) | |
download | aports-1a96dba105ad2f75aeaca54d9cdda5558a15756d.tar.bz2 aports-1a96dba105ad2f75aeaca54d9cdda5558a15756d.tar.xz |
community/ucpp: upgrade to 1.3.5
Diffstat (limited to 'community/ucpp/APKBUILD')
-rw-r--r-- | community/ucpp/APKBUILD | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/community/ucpp/APKBUILD b/community/ucpp/APKBUILD index 994123d65e..85c0649ba5 100644 --- a/community/ucpp/APKBUILD +++ b/community/ucpp/APKBUILD @@ -1,30 +1,27 @@ # Contributor: Timo Teräs <timo.teras@iki.fi> # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=ucpp -pkgver=1.3.2 +pkgver=1.3.5 pkgrel=0 pkgdesc="C preprocessor which is embeddable, quick, light and C99 compliant" -url="https://code.google.com/p/ucpp/" +options="!check" # No testsuite +url="https://gitlab.com/scarabeusiv/ucpp" arch="all" -license="BSD" -depends="" -makedepends="" -install="" -subpackages="" -source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ucpp/ucpp-$pkgver.tar.bz2" +license="BSD-3-Clause" +subpackages="$pkgname-doc $pkgname-dev lib$pkgname:libs" +source="https://gitlab.com/scarabeusiv/ucpp/uploads/79f08e39c676f15ed8a59335f6c9b924/ucpp-${pkgver}.tar.xz" -builddir="$srcdir"/ucpp build() { - cd "$builddir" - make || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static + make } package() { - cd "$builddir" - install -dm755 "$pkgdir"/usr/bin - install -m755 ucpp "$pkgdir"/usr/bin/ + make DESTDIR="$pkgdir" install } -md5sums="7b3f0d9381fd8518ae895a66235936d1 ucpp-1.3.2.tar.bz2" -sha256sums="ab7ecc5ba2c2617fa14cd0a939c1e87ed789c59767fb39fc9b7d0ebf63a81635 ucpp-1.3.2.tar.bz2" -sha512sums="a8a22162c0e26bc8281928f921f4e531108ba02658fd9c7a1760ae2fe938c910215aa4db02e5c7f0c5ea1aa66d89157bc780f2f13c57fa603de6c2d0c48cfd32 ucpp-1.3.2.tar.bz2" +sha512sums="3ded8f7bc2b238adb6e7f4162aee48e039dfe7cee31b700c38e8f147634d47cd1ceaf39c343549b0d4a58358e6b9743f7e84f87b253dc19c05e543d68ade24ce ucpp-1.3.5.tar.xz" |