diff options
Diffstat (limited to 'main/libtxc_dxtn')
-rw-r--r-- | main/libtxc_dxtn/APKBUILD | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/main/libtxc_dxtn/APKBUILD b/main/libtxc_dxtn/APKBUILD index 3eb1eb3f91..4e7ff07dbd 100644 --- a/main/libtxc_dxtn/APKBUILD +++ b/main/libtxc_dxtn/APKBUILD @@ -14,21 +14,15 @@ install="" subpackages="$pkgname-dev" source="http://cgit.freedesktop.org/~mareko/libtxc_dxtn/snapshot/libtxc_dxtn-$pkgver.tar.bz2" -_builddir="$srcdir"/libtxc_dxtn-$pkgver +builddir="$srcdir"/libtxc_dxtn-$pkgver prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + default_prepare libtoolize --force && aclocal -I m4 && autoconf \ && automake --add-missing } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -39,7 +33,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install rm "$pkgdir"/usr/lib/libtxc_dxtn.la } |