added pico with symlink to nano
This commit is contained in:
parent
a248d8321a
commit
63a64d7e7d
1 changed files with 36 additions and 0 deletions
36
pkgs/pico/build.sh
Normal file
36
pkgs/pico/build.sh
Normal file
|
@ -0,0 +1,36 @@
|
|||
pkgname=pico
|
||||
pkgver=2.00
|
||||
|
||||
fetch() {
|
||||
curl "http://ftp.swin.edu.au/alpine/alpine-$pkgver.tar.bz2" -o $pkgname-$pkgver.tar.bz2
|
||||
tar -xf $pkgname-$pkgver.tar.bz2
|
||||
mv alpine-$pkgver $pkgname-$pkgver
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--without-ldap \
|
||||
--without-ssl \
|
||||
--without-krb5
|
||||
|
||||
make -s c-client
|
||||
make -s c-client.d
|
||||
make -s -C pith
|
||||
make -s -C pico
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
install -d /usr/bin
|
||||
install -Dm755 ./pico/pico $pkgdir/usr/bin/
|
||||
install -Dm755 ./pico/pilot $pkgdir/usr/bin/
|
||||
ln -sr $pkgdir/usr/bin/pico $pkgdir/usr/bin/nano
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
Loading…
Reference in a new issue