summaryrefslogblamecommitdiff
path: root/system/popt/APKBUILD
blob: e24a7913bf26c9b6c5f2cb00c8ed100a5ae73a4d (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.18
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/$pkgname/releases/$pkgname-1.x/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"

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

check() {
	make check
}

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

sha512sums="86422e8762adda3d02d46c20ac74ffe389d4f991d552b6fea729f007345b6426cbeb71160284e2deaa2ce44ce754a9e6cf6ccbd64bff9bc2253df40cdc2f79a5  popt-1.18.tar.gz"