mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 19:36:44 +02:00
38 lines
854 B
Text
38 lines
854 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libsm
|
|
pkgver=1.2.5
|
|
pkgrel=0
|
|
pkgdesc="X11 Session Management library"
|
|
url="https://xorg.freedesktop.org/"
|
|
arch="all"
|
|
license="MIT"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
makedepends="libice-dev xorgproto xtrans util-linux-dev util-macros xmlto"
|
|
checkdepends="check-dev"
|
|
source="https://www.x.org/releases/individual/lib/libSM-$pkgver.tar.xz"
|
|
builddir="$srcdir"/libSM-$pkgver
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--with-libuuid \
|
|
--enable-docs \
|
|
--with-xmlto \
|
|
--without-fop
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
f2e58503a7cd144a610621104b4727878dd5ba0cdf8220e72f27a3474c9b49c01dc514c60cbdfb35a9318f307b27a601580725cef0f6b5091d4c4ea57cef8c91 libSM-1.2.5.tar.xz
|
|
"
|