diff options
author | Lukc <lukc@upyum.com> | 2011-01-08 17:02:51 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2011-01-08 17:02:51 +0100 |
commit | 0e9d94588a7865e7f3434750671bd6100706f063 (patch) | |
tree | 414d6c5ff43062d56d24885a89060eb361b89517 /sysklogd | |
parent | 6aeb1a36bfffc8fdfc2fc15e1edaf9064f4f9b80 (diff) | |
download | base-0e9d94588a7865e7f3434750671bd6100706f063.tar.gz base-0e9d94588a7865e7f3434750671bd6100706f063.tar.bz2 base-0e9d94588a7865e7f3434750671bd6100706f063.tar.xz base-0e9d94588a7865e7f3434750671bd6100706f063.zip |
Correction à cause de cet enfoiré de développeur de pkg++ qui casse toujours tout. :@
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/Pkgfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysklogd/Pkgfile b/sysklogd/Pkgfile index 8acaedd..ff1051e 100644 --- a/sysklogd/Pkgfile +++ b/sysklogd/Pkgfile @@ -7,13 +7,13 @@ depends=() name=sysklogd version=1.5 release=4 -source=(http://www.ibiblio.org/pub/Linux/system/daemons/sysklogd-1.5.tar.gz rotatelog syslog syslog.conf sysklogd) +source=(http://www.ibiblio.org/pub/Linux/system/daemons/$name-$version.tar.gz rotatelog syslog syslog.conf sysklogd) build () { cd $name-$version; sed -i -e '192d' ksym_mod.c; mkdir -p $PKG/usr/sbin $PKG/etc/{cron/weekly,rc.d} $PKG/var/log $PKG$mandir/{man5,man8}; - make RPM_OPT_FLAGS="$CFLAGS" all; + make ${CHOST:+CC=$CHOST-gcc STRIP=$CHOST-strip} RPM_OPT_FLAGS="$CFLAGS" all; make BINDIR=$PKG/usr/sbin MANDIR=$PKG$mandir install; install -m 755 $SRC/rotatelog $PKG/usr/sbin; install -m 755 $SRC/syslog $PKG/etc/cron/weekly; |