summaryrefslogblamecommitdiff
path: root/user/gamin/APKBUILD
blob: a531742203eeeeb1d4d2f9de9e3320c6ed2f8227 (plain) (tree)
1
2
3
4
5
6
7
8
9
              

             

                                                   

                                          
                   
                          
          




                                                                               
           
                      




                         
                      


















                                           
                      



                                      


                                                                                                                                                                 
# Maintainer: 
pkgname=gamin
pkgver=0.1.10
pkgrel=12
pkgdesc="Library for file and directory monitoring"
url="http://www.gnome.org/~veillard/gamin"
arch="all"
license="LGPL-2.0+"
subpackages="$pkgname-dev"
depends=""
makedepends="glib-dev"
source="http://www.gnome.org/~veillard/$pkgname/sources/$pkgname-$pkgver.tar.gz
	fix-deprecated-const.patch
	fix-pthread-mutex.patch"

prepare() {
	cd "$builddir"
	update_config_sub
	default_prepare
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static \
		--with-threads \
		--without-python \
		--disable-debug-api \
		--disable-debug \
		--libexecdir=/usr/lib/gamin
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	export MKDIRPROG="mkdir -p"
	make DESTDIR="$pkgdir" install
}

sha512sums="21bfe6fcf8fb3117cd5a08c8ce3b8d0d1dd23e478e60a95b76c20d02cc29b050dde086578d81037990484ff891c3e104d2cbbf3d294b4a79346b14a0cae075bb  gamin-0.1.10.tar.gz
c4c10bee70c7231db395cbfe5bdf513ade6be599a11a9d35888ddfaca42d619fe2b5e87c2b2bab469ea98ba718bc01711252313ba5f53c392379b669f5b2902b  fix-deprecated-const.patch
70628fc39521ea8bc4a40b009d0881f6ee540334a31b2f0cb67dde0f75808c69feb78088ad24c3c4a0dec9fa59e87960fd81d1a2e56963ce9268d0a5e14f88e8  fix-pthread-mutex.patch"