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

                                                   
            
        

                                            
          

              
                         
                                       
                                                                                             
 



                                    

 
         
                       




                                 



                        
                       
                                                  

 


                                                                                                                                                                     
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsigc++
pkgver=2.6.2
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="d2f33ca0b4b012ef60669e3b3cebe956  libsigc++-2.6.2.tar.xz"
sha256sums="fdace7134c31de792c17570f9049ca0657909b28c4c70ec4882f91a03de54437  libsigc++-2.6.2.tar.xz"
sha512sums="017685c3b1e11f84eda38cb4d7fbc0a4ede0217f1e65ad88c33ffaa5f973ceed16c56ded06a396919ab63e3057dd8c52f266e775fed4b0c32175784fcc86d0c9  libsigc++-2.6.2.tar.xz"