testing/expect: new aport

This commit is contained in:
Francesco Colista 2011-02-05 23:55:55 +00:00
parent 363f2c25a2
commit 4a3420a0ee
2 changed files with 0 additions and 6 deletions

View File

@ -14,7 +14,6 @@ subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/project/expect/Expect/$pkgver/$pkgname$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname$pkgver
build() {
cd "$_builddir"
./configure --prefix=/usr
@ -26,7 +25,6 @@ build() {
--disable-rpath
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1

View File

@ -13,20 +13,16 @@ makedepends="perl-dev"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/B/BB/BBIRTH/$_realname-$pkgver.tar.gz"
_builddir="$srcdir/$_realname-$pkgver"
build() {
cd $_builddir
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd $_builddir
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
}
md5sums="b59c85e92eae2c14ffa63af7ac0a1d9a ControlX10-CM11-2.09.tar.gz"