aboutsummaryrefslogblamecommitdiffstats
path: root/main/libsm/APKBUILD
blob: cc3f08e5d3ffc00ffd1ccf14b19e2d98a6c20ae8 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   
             
            
        

                                        
          
                
        
                                       

                                                                       
                                                                       
 
                                

          
                      




                                   









                                


           

                                      

                                                                            


                                                                                                                                                                  
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsm
pkgver=1.2.2
pkgrel=1
pkgdesc="X11 Session Management library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
depends=
subpackages="$pkgname-dev $pkgname-doc"
makedepends="libice-dev xproto xtrans util-linux-dev util-macros xmlto"
checkdepends="check-dev"
source="http://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
}
md5sums="499a7773c65aba513609fe651853c5f3  libSM-1.2.2.tar.bz2"
sha256sums="0baca8c9f5d934450a70896c4ad38d06475521255ca63b717a6510fdb6e287bd  libSM-1.2.2.tar.bz2"
sha512sums="dfb91dcc7200fce8d0a62953ae4b81fcb00d525674bbcc6dfcaa23ecb35e1213ceb07cc51f590072dce2107909903160d9f3636a0434fe2a605b1e9a9bd0a6ca  libSM-1.2.2.tar.bz2"