mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
development/dmd: Updated for version 2.076.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
50a4733c32
commit
edcaeae4b3
2 changed files with 16 additions and 17 deletions
|
@ -23,7 +23,7 @@
|
|||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=dmd
|
||||
VERSION=${VERSION:-2.076.0}
|
||||
VERSION=${VERSION:-2.076.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -64,29 +64,28 @@ find -L . \
|
|||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
mkdir $PKG/etc
|
||||
sed -e "s|%@P%/../../src/phobos -I%@P%/../../src/druntime/import|/usr/include/d|g" \
|
||||
-e "s|%@P%/../lib32|/usr/lib|" \
|
||||
-e "s|%@P%/../lib64|/usr/lib64|" \
|
||||
linux/bin${ARCHSUFFIX}/dmd.conf > $PKG/etc/dmd.conf
|
||||
rm linux/bin${ARCHSUFFIX}/dmd.conf
|
||||
sed -e "s|%@P%/../../src/phobos -I%@P%/../../src/druntime/import|/usr/include/dmd|g" \
|
||||
-e "s|%@P%/../lib32|/usr/lib|" \
|
||||
-e "s|%@P%/../lib64|/usr/lib64|" \
|
||||
linux/bin${ARCHSUFFIX}/dmd.conf > $PKG/etc/dmd.conf
|
||||
|
||||
mkdir -p $PKG/usr/bin
|
||||
rm -f linux/bin${ARCHSUFFIX}/README.TXT
|
||||
mv linux/bin${ARCHSUFFIX}/* $PKG/usr/bin
|
||||
mv linux/bin${ARCHSUFFIX}/{dmd,dumpobj,obj2asm,ddemangle,dustmite,rdmd,dub} \
|
||||
$PKG/usr/bin
|
||||
|
||||
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} $PKG/usr/include/d
|
||||
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX} $PKG/usr/include/dmd
|
||||
|
||||
# Runtime.
|
||||
mv src/druntime/src/{core,etc,object.d} $PKG/usr/include/d
|
||||
find $PKG/usr/include/d -name "*.S" -print0 | xargs -0 rm
|
||||
mv src/druntime/src/{core,etc,object.d} $PKG/usr/include/dmd
|
||||
find $PKG/usr/include/dmd -name "*.S" -print0 | xargs -0 rm
|
||||
|
||||
# Phobos.
|
||||
mv linux/lib${ARCHSUFFIX}/libphobos2.* $PKG/usr/lib${LIBDIRSUFFIX}
|
||||
mv src/phobos/std $PKG/usr/include/d
|
||||
mv src/phobos/etc/* $PKG/usr/include/d/etc
|
||||
mv src/phobos/std $PKG/usr/include/dmd
|
||||
mv src/phobos/etc/* $PKG/usr/include/dmd/etc
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mv html/* $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mv html/d/* $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="dmd"
|
||||
VERSION="2.076.0"
|
||||
VERSION="2.076.1"
|
||||
HOMEPAGE="https://dlang.org"
|
||||
DOWNLOAD="http://downloads.dlang.org/releases/2.x/2.076.0/dmd.2.076.0.linux.tar.xz"
|
||||
MD5SUM="66f807874cbe954e44f73df379bf26fc"
|
||||
DOWNLOAD="http://downloads.dlang.org/releases/2.x/2.076.1/dmd.2.076.1.linux.tar.xz"
|
||||
MD5SUM="e06b0348b82b230328fa958b3cb98055"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue