You are not logged in.

#1 2013-07-31 15:20:34

mitcoes
Member
Registered: 2007-09-29
Posts: 10

smdk-dltool package request

I have just bricked my android tablet
This package available in Ubuntu and gentoo allows to unbrick Android devices

Offline

#2 2013-08-03 21:40:30

jacobgrevald
Member
From: Denmark
Registered: 2013-08-01
Posts: 6
Website

Re: smdk-dltool package request

Hey Mitcoes!

Your should try to make a PKGBUILD yourself. The wiki has guides on how to do this. You should also read this topic for posting package requests.

... but I'm new myself, and trying to learn, so I made an AUR package.
This package only installs the smdk-usbdl tool provoided by smdk-tools. The smdk-tools also include the kernel-wrap utility, which allows one to compile a kernel for the SMDK... This is not included in the package on AUR.. was this the tool you needed?

Here is the PKGBUILD:

pkgname=smdk-tools
pkgver=0.20
pkgrel=1
pkgdesc="Tool to communicate with Samsung SMDK boards"
arch=('any')
url="http://www.fluff.org/ben/smdk/tools/"
license=('as-is')
depends=('libusb')
source=("${pkgname}-${pkgver}.tar.gz::http://www.fluff.org/ben/smdk/tools/downloads/${pkgname}-v${pkgver}.tar.gz"
        "smdk-usbdl.1.gz")
md5sums=('35ce4f6ab3e518faa5dfc475ac99ef92'
         '79f5d52eb8720eb63cd0508beb18de5a')

build() {
  cd ${srcdir}/releases/${pkgname}-v${pkgver}/dltool/
  make
}

package() {
  mkdir -p ${pkgdir}/usr/share/man/man1/
  mkdir -p ${pkgdir}/usr/bin/
  install -g 0 -o 0 -m 0644 ${srcdir}/smdk-usbdl.1.gz ${pkgdir}/usr/share/man/man1/smdk-usbdl.1.gz

  cd ${srcdir}/releases/${pkgname}-v${pkgver}/dltool/
  cp smdk-usbdl ${pkgdir}/usr/bin/smdk-usbdl
}

PS: I made a quick man page from the readme file. Type

man smdk-usbdl

after installation.

Last edited by jacobgrevald (2013-08-03 21:51:51)

Offline

Board footer

Powered by FluxBB