mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-20 08:02:26 +01:00
43 lines
983 B
Plaintext
43 lines
983 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libsm
|
|
pkgver=1.2.3
|
|
pkgrel=0
|
|
pkgdesc="X11 Session Management library"
|
|
url="https://xorg.freedesktop.org/"
|
|
arch="all"
|
|
license="MIT"
|
|
depends=
|
|
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.bz2"
|
|
|
|
builddir="$srcdir"/libSM-$pkgver
|
|
|
|
build () {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--with-libuuid \
|
|
--enable-docs \
|
|
--with-xmlto \
|
|
--without-fop
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
|
}
|
|
|
|
sha512sums="74c42e27029db78475e62025b4711dbac5e22d2f8e8a24be98a1c31b03c0fc4afe859928f851800ea0b76854f12147900dc4f27bbfd3d8ea45daaaf24b70a903 libSM-1.2.3.tar.bz2"
|