forked from ports/contrib
24 lines
708 B
Plaintext
24 lines
708 B
Plaintext
# Description: A generic archive file extractor that has a consistent command line interface.
|
|
# URL: http://hartlich.com/deco/
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Danny Rawlins, monster dot romster at gmail dot com
|
|
|
|
name=deco
|
|
version=1.5.7
|
|
release=1
|
|
source=(http://hartlich.com/$name/download/$name-$version.tar.gz
|
|
http://hartlich.com/$name/archive/download/$name-archive-1.2.tar.gz
|
|
deco-make.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
patch -p 1 -i $SRC/deco-make.patch
|
|
sed -i -e "s|@CFLAGS@|$CFLAGS|" config.mk
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
cd $SRC/$name-archive-1.2
|
|
sed -i -e 's|^PREFIX = /usr/local|PREFIX = /usr|' config.mk
|
|
make DESTDIR=$PKG install
|
|
}
|