mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-30 13:02:27 +01:00
42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer:
|
|
pkgname=poco
|
|
pkgver=1.9.4
|
|
pkgrel=0
|
|
pkgdesc="C++ class libraries for building network- and internet-based applications"
|
|
options="!check" # No testsuite
|
|
url="https://pocoproject.org/"
|
|
arch="all"
|
|
license="BSL-1.0"
|
|
makedepends="openssl-dev linux-headers zlib-dev pcre-dev expat-dev sqlite-dev"
|
|
subpackages="$pkgname-dev"
|
|
source="https://pocoproject.org/releases/poco-$pkgver/poco-$pkgver-all.tar.gz
|
|
cxxflags.patch
|
|
"
|
|
|
|
builddir="$srcdir"/$pkgname-$pkgver-all
|
|
|
|
build() {
|
|
./configure --config=Linux \
|
|
--prefix=/usr \
|
|
--minimal \
|
|
--shared \
|
|
--no-tests \
|
|
--no-samples \
|
|
--unbundled
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
_basedir="$pkgdir"/usr/include/Poco
|
|
for dir in Net Crypto; do
|
|
test -d "$_basedir"/$dir || mkdir "$_basedir"/$dir
|
|
done
|
|
cp NetSSL_OpenSSL/include/Poco/Net/*.h "$_basedir"/Net
|
|
cp Crypto/include/Poco/Crypto/*.h "$_basedir"/Crypto
|
|
}
|
|
|
|
sha512sums="fd395ef94bd0fb625fb6f1be58f90db9ba17e09ef01d92c4bc20be913fa0923ccb12735c9ff2c84f4cf6553ecba1b25374eac9a97c7888f3f53c23d02cae8b07 poco-1.9.4-all.tar.gz
|
|
5f72e487074ea26e29e81d6fc244d03989d780d71b33a064456fa19b241aca278fbfd9b303733940b837921ea25781ee62905d70a5f1c57f1b24cd38a2a7d720 cxxflags.patch"
|