1
0
forked from ports/contrib

Fixed identation in leafpad, nut and pymp

This commit is contained in:
Victor Martinez 2009-09-30 09:08:53 +02:00
parent 574a1863f2
commit e3ffa9e8b3
3 changed files with 36 additions and 36 deletions

View File

@ -9,11 +9,11 @@ release=1
source=(http://savannah.nongnu.org/download/$name/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr \
--enable-chooser
cd $name-$version
./configure --prefix=/usr \
--enable-chooser
make
make DESTDIR=$PKG install
rm -r {$PKG/usr/share/locale,$PKG/usr/share/icons}
make
make DESTDIR=$PKG install
rm -r {$PKG/usr/share/locale,$PKG/usr/share/icons}
}

View File

@ -7,33 +7,33 @@ name=nut
version=2.2.2
release=1
source=(http://www.networkupstools.org/source/2.2/$name-$version.tar.gz \
upsd)
upsd)
build() {
cd $name-$version
./configure --prefix=/usr \
--disable-nls \
--with-user=nut \
--with-group=nut \
--with-usb \
--with-lib \
--mandir=/usr/man \
--sysconfdir=/etc/$name \
--sbindir=/usr/sbin/ \
--datadir=/usr/share/$name \
--localstatedir=/var/$name
make
make usb
make DESTDIR=$PKG install
make DESTDIR=$PKG/etc/nut/ install-conf
rm -r $PKG/etc/nut/etc/
rmdir $PKG/usr/{lib/pkgconfig,include}
#if you dont want config templates uncomment the next line
#rm $PKG/etc/nut/*
mkdir -p $PKG/etc/udev/rules.d/
install -D -m 755 $SRC/upsd $PKG/etc/rc.d/upsd
rmdir $PKG/usr/cgi-bin $PKG/usr/html
mkdir -p $PKG/var/state/ups
chmod 0770 $PKG/var/state/ups
chown root:nut $PKG/var/state/ups
cd $name-$version
./configure --prefix=/usr \
--disable-nls \
--with-user=nut \
--with-group=nut \
--with-usb \
--with-lib \
--mandir=/usr/man \
--sysconfdir=/etc/$name \
--sbindir=/usr/sbin/ \
--datadir=/usr/share/$name \
--localstatedir=/var/$name
make
make usb
make DESTDIR=$PKG install
make DESTDIR=$PKG/etc/nut/ install-conf
rm -r $PKG/etc/nut/etc/
rmdir $PKG/usr/{lib/pkgconfig,include}
#if you dont want config templates uncomment the next line
#rm $PKG/etc/nut/*
mkdir -p $PKG/etc/udev/rules.d/
install -D -m 755 $SRC/upsd $PKG/etc/rc.d/upsd
rmdir $PKG/usr/cgi-bin $PKG/usr/html
mkdir -p $PKG/var/state/ups
chmod 0770 $PKG/var/state/ups
chown root:nut $PKG/var/state/ups
}

View File

@ -1,4 +1,4 @@
# Description: A simple media player written in Python.
# Description: A simple media player written in Python.
# URL: http://jaydolan.com/pymp.html
# Packager: Jay Dolan, jdolan at jdolan dot dyndns dot org
# Maintainer: Victor Martinez, pitillo at ono dot com
@ -10,7 +10,7 @@ release=1
source=(http://jdolan.dyndns.org/jaydolan/files/$name-$version.tar.bz2)
build(){
cd $name-$version
make
cd $name-$version
make
make DESTDIR=$PKG PREFIX=/usr install
}