|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2009 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2009,2010 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -29,12 +29,12 @@
|
|
|
|
|
NAMESRC=${NAMESRC:-ddclient} |
|
|
|
|
VERSION=${VERSION:-3.8.0} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz} |
|
|
|
|
WGET=${WGET:-http://ovh.dl.sourceforge.net/sourceforge/ddclient/$ARCHIVE} |
|
|
|
|
WGET=${WGET:-http://downloads.sourceforge.net/ddclient/$ARCHIVE} |
|
|
|
|
|
|
|
|
|
# Built package infos |
|
|
|
|
NAMEPKG=${NAMEPKG:-ddclient} |
|
|
|
|
BUILD=${BUILD:-2GGD} |
|
|
|
|
ARCH=${ARCH:-i486} |
|
|
|
|
BUILD=${BUILD:-3GGD} |
|
|
|
|
ARCH=noarch |
|
|
|
|
EXT=${EXT:-txz} |
|
|
|
|
|
|
|
|
|
# Directories |
|
|
|
@ -71,9 +71,8 @@ mkdir -p $PKG/usr/{sbin,doc/$NAME} $PKG/etc/{ddclient,rc.d} $PKG/install
|
|
|
|
|
install -m 755 ddclient $PKG/usr/sbin/ddclient |
|
|
|
|
install -m 644 sample-etc_ddclient.conf $PKG/etc/ddclient/ddclient.conf.new |
|
|
|
|
install -m 644 $CWD/rc.ddclient $PKG/etc/rc.d/rc.ddclient.new |
|
|
|
|
install -m 644 \ |
|
|
|
|
COPYING COPYRIGHT Change{l,L}og README{,.cisco,.ssl} RELEASENOTE TODO \ |
|
|
|
|
$PKG/usr/doc/$NAME |
|
|
|
|
install -m 644 COPYING COPYRIGHT Change{l,L}og README{,.cisco,.ssl} \ |
|
|
|
|
RELEASENOTE TODO $PKG/usr/doc/$NAME |
|
|
|
|
install -m 644 $CWD/slack-desc $PKG/install/slack-desc |
|
|
|
|
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh |
|
|
|
|
|
|
|
|
|