Difference between revisions of "Update plowshare"
From WikiDLXTV
m |
|||
Line 46: | Line 46: | ||
[http://www.dd-wrt.com/phpBB2/viewtopic.php?p=637912&sid=6122d722960ba99bccde3d2f1efedd48 Source] [http://svn.dd-wrt.com:8000/ticket/1889 Source2] | [http://www.dd-wrt.com/phpBB2/viewtopic.php?p=637912&sid=6122d722960ba99bccde3d2f1efedd48 Source] [http://svn.dd-wrt.com:8000/ticket/1889 Source2] | ||
− | |||
− |
Revision as of 15:20, 2 October 2011
For lazy people or with short time here is the package ready plowshare_git20110926_mipsel.ipk but remember to do ln -s /opt/bin/bash /bin/bash
first
This is how you can update Plowshare.
Download and install the ipkg-build package, this version can do the job(mirror):
wget ftp://ftp.gwdg.de/pub/linux/handhelds/packages/ipkg-build/ipkg-build_1.6_all.ipk ipkg-opt install ipkg-build_1.6_all.ipk
Get latest plowshare source and build it (the last at least for a few days):
wget http://plowshare.googlecode.com/files/plowshare-snapshot-git20110926.tar.gz tar -xzf plowshare-snapshot-git20110926.tar.gz cd plowshare-snapshot-git20110926 mkdir /tmp/pkg make PREFIX=/opt DESTDIR=/tmp/pkg install
Create control file for ipkg
mkdir -p /tmp/pkg/CONTROL cat > /tmp/pkg/CONTROL/control <<EOF
With this content:
Package: plowshare Version: git20110926 Architecture: mipsel Maintainer: YOURNAME <YOURMAIL> Section: base Priority: optional Description: A command-line downloader and uploader for some of the most popular file sharing websites Source: http://code.google.com/p/plowshare/ EOF
Use ipkg-utils to create the package:
ipkg-build /tmp/pkg /tmp/
Create a symbolic link /bin/bash
to /opt/bin/bash
, to avoid having to rename all scripts:
ln -s /opt/bin/bash /bin/bash
Install the new package:
ipkg install /tmp/plowshare_git20110926_mipsel.ipk