aboutsummaryrefslogblamecommitdiffstats
path: root/main/libsigc++/APKBUILD
blob: 623f3409b0c6b1b99a43bd003997ec4b61044597 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
            
        

                                            
          

              
                         
                                       
                                                                                             
 



                                    

 
         
                       




                                 



                        
                       
                                                  

 


                                                                                                                                                                     
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsigc++
pkgver=2.6.1
pkgrel=0
pkgdesc="type-safe Signal Framework for C++"
url="http://libsigc.sourceforge.net/"
arch="all"
license="LGPL"
depends=
makedepends="m4 perl tar"
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="136bbdc53c538b5824eddfd2a7fe10db  libsigc++-2.6.1.tar.xz"
sha256sums="186f2167c1b3d90529ce8e715246bf160bc67ec1ec19f4e45d76c0ae54dfbe1b  libsigc++-2.6.1.tar.xz"
sha512sums="04c81069487de5754214c3274951644f108376c51add5003390a071ec7caac81b002b4d11e14c5054d451be79d50f074d3fc88c750e92b227693cc477402f07f  libsigc++-2.6.1.tar.xz"