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

                                                                  
          
                                                             
                        
                                       
                                                             
 

            



                     
 
         



                                 


                                           
                             



            
                  


           
                                      


                                       

 


                                                                                                                                                    
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libidn
pkgver=1.38
pkgrel=0
pkgdesc="Encode/Decode library for internationalized domain names"
url="https://www.gnu.org/software/libidn"
arch="all"
license="GPL-2.0-or-later GPL-3.0-or-later LGPL-3.0-or-later"
checkdepends="diffutils"
subpackages="$pkgname-dev $pkgname-doc"
source="https://ftp.gnu.org/gnu/libidn/libidn-$pkgver.tar.gz"

# secfixes:
#   1.33-r0:
#     - CVE-2015-8948
#     - CVE-2016-6261
#     - CVE-2016-6262
#     - CVE-2016-6263

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-nls
	make
}

check() {
	make check
}

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

	# only keep man pages
	rm -rf "$pkgdir"/usr/share/info
}

sha512sums="
5e59b2263fde44d1463b47b516347b17a4e3e3696ebba66ab5fe464d567e2ec81f769fa7cf72ed51cfb501e32221813bb375373713a47e2f599fc6122850e419  libidn-1.38.tar.gz
"