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


                                
             



                                             
                          
                                                                      













                                                                        


                                   


           
                       


                                                  


                                                                                                                                                                  
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=imake
pkgver=1.0.7
pkgrel=0
pkgdesc="X Windows make utility"
url="http://www.x.org"
arch="all"
license="BSD"
depends=
depends_dev=
makedepends="xproto util-macros $depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://ftp.x.org/pub/individual/util/$pkgname-$pkgver.tar.bz2"

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

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

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

md5sums="4042a4139a4636f78e2b8a144fdd1fcd  imake-1.0.7.tar.bz2"
sha256sums="690c2c4ac1fad2470a5ea73156cf930b8040dc821a0da4e322014a42c045f37e  imake-1.0.7.tar.bz2"
sha512sums="b3527c8fead25c6e093e1fe4a39e60ff210212dcd323e206505b9e872a3f36d9db85f85cab5a6f0fa914fa5c558ef54b499b2b13ccd66739223e4e72ef805d08  imake-1.0.7.tar.bz2"