opt/slim/Pkgfile

27 lines
851 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: a graphical login utility
2009-09-19 01:04:29 +02:00
# URL: http://slim.berlios.de
# Packager: Simone Rota, sip at crux dot nu
# Maintainer: Thomas Penteker, tek at serverop dot de
2009-09-21 19:21:08 +02:00
# Depends on: xorg-xauth, libjpeg, libpng
2006-02-23 16:26:10 +01:00
name=slim
2010-12-05 12:27:53 +01:00
version=1.3.2
2009-07-20 15:25:12 +02:00
release=2
source=(http://download.berlios.de/$name/$name-$version.tar.gz \
2010-12-05 12:27:53 +01:00
http://jw.tks6.net/files/slim-crux-smooth.tar.gz $name.rc)
2006-02-23 16:26:10 +01:00
build () {
cd $name-$version
2010-08-22 22:46:34 +02:00
sed -i -e "s:-I/usr/include/libpng12:$(pkg-config --cflags-only-I libpng):" \
-e "s:-lpng12:$(pkg-config --libs-only-l libpng):" Makefile
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
mkdir $PKG/etc/rc.d
install -m 755 ../$name.rc $PKG/etc/rc.d/$name
cd ../
rm -f slim-crux-smooth/README
cp -r slim-crux-smooth $PKG/usr/share/slim/themes/crux-smooth
chmod 0644 $PKG/usr/share/slim/themes/crux-smooth/*
2006-02-23 16:26:10 +01:00
}