diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-09 06:40:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-09 06:40:22 +0000 |
commit | 254f2acfa3e65a389d1766375097a6dc769cd9d6 (patch) | |
tree | bdddac0652dc6bf80c752da6960020133cfce756 /main | |
parent | f176f475caa80a0fc8e53b2ec88fca224209db39 (diff) | |
download | aports-254f2acfa3e65a389d1766375097a6dc769cd9d6.tar.bz2 aports-254f2acfa3e65a389d1766375097a6dc769cd9d6.tar.xz |
main/libiconv: remove. the musl internal should be used
The package is only a dummy and musl variant will always be used. Remove
the package to force clean up of APKBUILDs that uses libiconv-dev
Diffstat (limited to 'main')
-rw-r--r-- | main/libiconv/APKBUILD | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/main/libiconv/APKBUILD b/main/libiconv/APKBUILD deleted file mode 100644 index 6070612941..0000000000 --- a/main/libiconv/APKBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Maintainer: Carlo Landmeter <clandmeter at gmail.com> -pkgname=libiconv -pkgver=1.12 -pkgrel=8 -pkgdesc="GNU charset conversion library for libc which doesn't implement it" -url="http://www.gnu.org/software/libiconv" -arch="all" -license='LGPL' -depends="" -source="http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.12.tar.gz" -subpackages="$pkgname-doc $pkgname-dev" - -build() { - cd "$srcdir/$pkgname-$pkgver" - - #only build if we need it - [ "$CLIBC" = "uclibc" ] || return 0 - - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --mandir=/usr/share/man \ - || return 1 - # work around rpath issue - sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool - sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool - make || return 1 -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - if [ "$CLIBC" = "uclibc" ]; then - make DESTDIR="$pkgdir/" install - rm "$pkgdir"/usr/lib/*.la - else - mkdir -p "$pkgdir"/usr/include "$pkgdir"/usr/share/doc "$pkgdir"/usr/lib - # provide empty libiconv.a to allow -liconv linking - ar rc "$pkgdir"/usr/lib/libiconv.a - fi -} - -md5sums="c2be282595751535a618ae0edeb8f648 libiconv-1.12.tar.gz" |