summaryrefslogblamecommitdiff
path: root/system/popt/APKBUILD
blob: 61f8152057fe63b0326a48fdbd6b081a6e8065e1 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                    
            

                                           
          
             
          
              
                                                                   
           



                         








                                 


                  
                                      

                                                                                                                                                               
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=popt
pkgver=1.16
pkgrel=8
pkgdesc="Command-line option parser"
url="http://ftp.rpm.org/mirror/popt/README"
arch="all"
license="X11"
depends=""
makedepends=""
source="http://ftp.rpm.org/mirror/$pkgname/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--libdir=/lib \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="bae2dd4e5d682ef023fdc77ae60c4aad01a3a576d45af9d78d22490c11e410e60edda37ede171920746d4ae0d5de3c060d15cecfd41ba75b727a811be828d694  popt-1.16.tar.gz"