mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-07 14:27:10 +02:00
testing/expect: new aport
This commit is contained in:
parent
363f2c25a2
commit
4a3420a0ee
@ -14,7 +14,6 @@ subpackages="$pkgname-dev"
|
|||||||
source="http://downloads.sourceforge.net/project/expect/Expect/$pkgver/$pkgname$pkgver.tar.gz"
|
source="http://downloads.sourceforge.net/project/expect/Expect/$pkgver/$pkgname$pkgver.tar.gz"
|
||||||
|
|
||||||
_builddir="$srcdir"/$pkgname$pkgver
|
_builddir="$srcdir"/$pkgname$pkgver
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_builddir"
|
cd "$_builddir"
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
@ -26,7 +25,6 @@ build() {
|
|||||||
--disable-rpath
|
--disable-rpath
|
||||||
make || return 1
|
make || return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_builddir"
|
cd "$_builddir"
|
||||||
make DESTDIR="$pkgdir" install || return 1
|
make DESTDIR="$pkgdir" install || return 1
|
||||||
|
@ -13,20 +13,16 @@ makedepends="perl-dev"
|
|||||||
install=
|
install=
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
source="http://search.cpan.org/CPAN/authors/id/B/BB/BBIRTH/$_realname-$pkgver.tar.gz"
|
source="http://search.cpan.org/CPAN/authors/id/B/BB/BBIRTH/$_realname-$pkgver.tar.gz"
|
||||||
|
|
||||||
_builddir="$srcdir/$_realname-$pkgver"
|
_builddir="$srcdir/$_realname-$pkgver"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $_builddir
|
cd $_builddir
|
||||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
|
||||||
make || return 1
|
make || return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $_builddir
|
cd $_builddir
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
# creates file collision among perl modules
|
# creates file collision among perl modules
|
||||||
find "$pkgdir" -name perllocal.pod -delete
|
find "$pkgdir" -name perllocal.pod -delete
|
||||||
}
|
}
|
||||||
|
|
||||||
md5sums="b59c85e92eae2c14ffa63af7ac0a1d9a ControlX10-CM11-2.09.tar.gz"
|
md5sums="b59c85e92eae2c14ffa63af7ac0a1d9a ControlX10-CM11-2.09.tar.gz"
|
||||||
|
Loading…
Reference in New Issue
Block a user