CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
ports: fixed rsync dir
[ports/core-arm.git] / perl / Pkgfile
index 75ceee7111aabce2709a706f8a70c3f221a7d294..5afde40137660a4549faec6889905d886b7e5986 100644 (file)
@@ -5,8 +5,8 @@
 # Depends on: db gdbm
 
 name=perl
-version=5.12.4
-release=1
+version=5.16.2
+release=2
 source=(http://www.cpan.org/src/5.0/$name-$version.tar.bz2)
 
 build() {
@@ -29,7 +29,7 @@ build() {
     make
     make DESTDIR=$PKG install
 
-    ln -sf perl$version $PKG/usr/bin/perl
+    ln -sf perl${version%-*} $PKG/usr/bin/perl
     ln -sf c2ph $PKG/usr/bin/pstruct
     ln -sf s2p $PKG/usr/bin/psed
     ln -sf c2ph.1pm $PKG/usr/man/man1/pstruct.1pm