1. turkbits
  2. spm-packages

Commits

turkbits  committed 5b0eca5

adding cdparanoia pacakge

  • Participants
  • Parent commits 2c487ed
  • Branches master

Comments (0)

Files changed (1)

File cdparanoia/SRCBUILD

View file
  • Ignore whitespace
+# Maintainer: turkbits <turkbits@turkbits.net>
+
+version=10.2
+description="Compact Disc Digital Audio extraction tool"
+depends=('glibc')
+sources=("http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-$version.src.tgz"
+        "http://www.linuxfromscratch.org/patches/blfs/svn/cdparanoia-III-10.2-gcc_fixes-1.patch")
+
+src_compile() {
+  cd "$SOURCE_DIR/cdparanoia-III-$version"
+  
+  patch -Np1 -i ../cdparanoia-III-10.2-gcc_fixes-1.patch
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  make
+} 
+
+src_install() {
+  cd "$SOURCE_DIR/cdparanoia-III-$version"
+  make prefix="$INSTALL_DIR/usr" MANDIR="$INSTALL_DIR/usr/share/man" install
+  chmod -v 755 "$INSTALL_DIR"/usr/lib/libcdda_*.so.0.10.2
+}