aboutsummaryrefslogtreecommitdiffstats
path: root/main/sqlite/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-05-13 06:37:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-05-13 06:37:14 +0000
commitc171bc47b2ece12a992edd046b3a210cea78a3dd (patch)
tree335ae864e89dbe50c2a7554a721c416a8b1cedb1 /main/sqlite/APKBUILD
parentb92c6f8ea28cb9d991c5508e4e9ff3b6d63b8567 (diff)
downloadaports-c171bc47b2ece12a992edd046b3a210cea78a3dd.tar.bz2
aports-c171bc47b2ece12a992edd046b3a210cea78a3dd.tar.xz
main/sqlite: fix -dev package
Diffstat (limited to 'main/sqlite/APKBUILD')
-rw-r--r--main/sqlite/APKBUILD21
1 files changed, 1 insertions, 20 deletions
diff --git a/main/sqlite/APKBUILD b/main/sqlite/APKBUILD
index 47f92524d8..842180ff60 100644
--- a/main/sqlite/APKBUILD
+++ b/main/sqlite/APKBUILD
@@ -16,7 +16,7 @@ esac
[ $_d -lt 10 ] && _d=0$_d
_ver=${_a}${_b}${_c}${_d}
-pkgrel=0
+pkgrel=1
pkgdesc="A C library that implements an SQL database engine"
url="http://www.sqlite.org/"
arch="all"
@@ -53,26 +53,7 @@ build() {
make libsqlite3.la && make -j1 || return 1
}
-dev() {
- local i= j=
- depends="$pkgname $depends_dev"
-
- cd "$pkgdir" || return 0
- for i in usr/include usr/lib/pkgconfig; do
- if [ -e "$pkgdir/$i" ] || [ -L "$pkgdir/$i" ]; then
- d="$subpkgdir/${i%/*}" # dirname $i
- mkdir -p "$d"
- mv "$pkgdir/$i" "$d"
- rmdir "$pkgdir/${i%/*}" 2>/dev/null
- fi
- done
-
- return 0
-}
-
package() {
- replaces="sqlite-dev"
-
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1