summaryrefslogblamecommitdiff
path: root/system/execline/APKBUILD
blob: 96da1fb5a07e04b83a66243ec254d36efde4eae5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                      
                
              
        
                                                                
                                            


                                  
                     
                                            
                                                     
                                                                      

         


                                 
                                    
                                      
                                   

                                       



            
                                      

                                                              

 
                                                                                                                                                                      
# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=execline
pkgver=2.9.5.1
pkgrel=0
pkgdesc="A small scripting language for non-interactive scripts"
url="https://skarnet.org/software/execline/"
arch="all"
options="!check"  # No test suite.
license="ISC"
_skalibs_version=2.14
makedepends="skalibs-dev>=$_skalibs_version"
subpackages="$pkgname-libs $pkgname-dev $pkgname-doc"
source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--enable-shared \
		--enable-static \
		--enable-allstatic \
		--enable-static-libc \
		--libdir=/usr/lib \
		--with-dynlib=/lib \
		--enable-pedantic-posix
	make
}

package() {
	make DESTDIR="$pkgdir" install
	mkdir -p -m 0755 "$pkgdir/usr/share/doc"
	cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"
}

sha512sums="11bfd825b0b72cba118eff9ecb97672d0c015e0bd50c7c8f83e101ee41c323b3a3c82e42fed75b6bc65ab6edb85a8bbeef8900b594cf651825b6313a5123c88f  execline-2.9.5.1.tar.gz"