aboutsummaryrefslogblamecommitdiffstats
path: root/main/automake/APKBUILD
blob: 67a2733c3f41259ae3ba2baac6c815b99ed4a848 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                   
                
             
        
                                                         
             

                                          

                                                              

                      
                          
 








                                                                        
         
                                     

                                 



                                     


                                    

                                                                 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=automake
pkgver=1.11.1
pkgrel=1
pkgdesc="A GNU tool for automatically creating Makefiles"
arch="noarch"
license=GPL
url="http://www.gnu.org/software/automake"
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
	CVE-2012-3386.patch"
depends="perl"
makedepends="autoconf"
subpackages="$pkgname-doc"

prepare() {
	cd "$srcdir"/$pkgname-$pkgver
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}
	
build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
        make DESTDIR=$pkgdir install
}

md5sums="4ee7f0ff5f0e467d58b6bd5da96b1c74  automake-1.11.1.tar.gz
4f3b076713662c040dbe22aa7e074eef  CVE-2012-3386.patch"