Commit 9dbbf848 authored by Natanael Copa's avatar Natanael Copa

main/tar: make sure busybox tar is overwritten

move /usr/bin/tar to /bin/tar
removed the post-deinstall as the busybox trigger handles that
parent 49b4c1df
# Maintainer: Carlo Landmeter <clandmeter at gmail.com>
pkgname=tar
pkgver=1.22
pkgrel=0
pkgrel=1
pkgdesc="Utility used to store, backup, and transport files"
url="http://www.gnu.org"
license='GPL'
depends="uclibc"
install="$pkgname.post-deinstall"
makedepends=""
source="ftp://ftp.gnu.org/gnu/tar/$pkgname-$pkgver.tar.gz
$pkgname.post-deinstall"
depends=
install=
makedepends=
source="ftp://ftp.gnu.org/gnu/tar/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc"
build() {
......@@ -18,8 +17,14 @@ build() {
./configure --prefix=/usr \
--mandir=/usr/share/man
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
mkdir "$pkgdir"/bin
mv "$pkgdir"/usr/bin/tar "$pkgdir"/bin/
ln -s /bin/tar "$pkgdir"/usr/bin/tar
}
md5sums="efafad1b256e3de410f4fce5335d9c9d tar-1.22.tar.gz
b84506d253e04db3c5af9016fead45a3 tar.post-deinstall"
md5sums="efafad1b256e3de410f4fce5335d9c9d tar-1.22.tar.gz"
#!/bin/sh
busybox --install -s
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment